Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

winscp

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)?

like image 328
Zohar Levi Avatar asked Oct 24 '25 15:10

Zohar Levi


1 Answers

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

like image 195
Martin Prikryl Avatar answered Oct 27 '25 01:10

Martin Prikryl