Zohar Levi
Zohar Levi

Reputation: 769

How do I open a WinSCP GUI session from command line?

If I have a session named "hpc" and I run:

winscp hpc

I get into command line mode. How do I run the GUI and open a session from the command line (Windows)?

Upvotes: 4

Views: 4143

Answers (1)

Martin Prikryl
Martin Prikryl

Reputation: 202360

WinSCP has two executables, winscp.exe and winscp.com. The winscp.exe is GUI, while the winscp.com is command-line.

If you use just the winscp, due to an extension precedence in Windows, the .com wins. Make sure you use a full GUI executable name:

winscp.exe hpc

References:
https://winscp.net/eng/docs/executables
https://winscp.net/eng/docs/commandline

Upvotes: 4

Related Questions