e:\winscp3\winscp3.com email@example.com /script=updateusa.txt
the script looks like this:
option batch on
option transfer automatic
option synchdelete on
If I run the .cmd file manually, it runs great - all tasks run to completion, and everything exits all nice and clean. If I run this from the scheduler (either automatically, or if I right-click on the task and choose Run), it hangs at the winscp routine. I've enabled logging in winscp, and this works fine if I run the .cmd file manually, but it doesn't generate any log file at all if I run it from the scheduler.
When I check Task Manager, WinSCP3.com and WinSCP3.exe are still running, and I have to shut them down manually (End Process).