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

bence.dombi

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
olivier raoult

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.