Winscp run without opening cmd window

Advertisement

Guest

Winscp run without opening cmd window

I wrote a script (batch file) to download files from my sftp server to a local directory. It does the task, but opens a command window. How do I get it to run without opening a command window.

Thanks.:)

Reply with quote

Advertisement

TimU
Joined:
Posts:
23
Location:
Sydney

Re: Winscp run without opening cmd window

Simple: don't include the "/command" switch when you call your script.

eg:
winscp /script=%SFTP.batch.script% /log="%TextTransferLog%" /xmllog="%XMLTransferLog%"

Reply with quote

Advertisement

You can post new topics in this forum