Can you post the command with the full path?
I tried the full path in the name. It still doesn't work.
Thy using full path to the script file.
I am using this command. the Winscp logs in correctly. Comes to the prompt and sits there. The script file is not executed. what am I doing wrong.
C:\Progra~1\WinSCP3\winscp3.exe /console sftp://email@example.com:22 /privatekey=private_key.ppk /script=test.txt