Topic "Should be "" instead of "WinSCP.exe" in the hint for script/batch"

Author Message
[View user's profile]

Joined: 2014-12-10
Posts: 5

In menu "Session" > "Generate session URL/code" > "Script" tab:
* For format "Script file", at the bottom we have the hint:
# "C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="C:\writable\path\to\log\WinSCP.log"
But I suppose it should be

* For format "Command-line":
There is a hint behind the drop-down menu and there, it's also written WinSCP.exe but I also think it should be

Have a nice day Smile
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
Well, that depends on a context.

If you run this from a batch file, you will typically use (as the "batch file" template shows).
But in other contexts, you will typically use the winscp.exe.
[View user's profile]

Joined: 2014-12-10
Posts: 5
By curiosity, what other contexts do we have?

I remember I've also tried to type the whole command in DOS window but got error. That's why I thought we should always use .com instead of .exe.

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License