MinGW and WinSCP scripting mode interaction

Advertisement

olivier raoult
Guest

MinGW and WinSCP scripting mode interaction

I have a simple my_scrip.txt file (option batch on ... etc.) which works perfectly from a DOS window (see command below):
WinSCP.exe /console /script=my_script.txt
But the same command doesn't work from a MinGW/MSYS windows (cf. "Host does not exist").

I tried all I can imagine (single-quotes, double-quotes, backslashes) but nothing works.

Reply with quote

Advertisement

bence.dombi
Joined:
Posts:
1

Re: MinGW and WinSCP scripting mode interaction

Try this:
winscp //console //script=my_script.txt
Or even better:
cmd //c winscp //console //script=my_script.txt

Reply with quote

Advertisement

You can post new topics in this forum