Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Cannot execute script

Show us a screenshot of a console window where you do dir 1.txt followed by winscp.com /script=1.txt
Guest

Cannot execute script

getting error when attempting to call a script that's in the same location as the winscp executable

C:\Program Files (x86)\WinSCP>winscp /script=1.txt
Cannot open file 1.txt. The system cannot find the file specified

Tried in different locations as well

C:\Program Files (x86)\WinSCP>winscp /script="c:\1.txt"
Cannot open file "c:\1.txt". The system cannot find the file specified

same error code. I'm running version 5.7.7