4

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

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
Zohar Levi
  • 614
  • 6
  • 16

1 Answers1

4

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

Community
  • 1
  • 1
Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992