Cannot execute script

Advertisement

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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,476
Location:
Prague, Czechia

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

Reply with quote

Advertisement

You can post new topics in this forum