Re: Cannot get scripts to run
I try running the script from command line like this:WinSCP3 /console /script=script.txt
But it brings up the GUI and does not do the file transfer.
The command is correct. I have just tried it with the same
script.txt
file and the same parameters. New console window is opened and WinSCP tries to connect (what naturally fails).
What version of WinSCP are you using?
you need to runwinscp3.com
, not the.exe
.
This is not true. You do not need
.com
as long as you do not need to run WinSCP from other console application and as long as you use /console
parameter (with .com
it is used automatically). Read more in documentation.