>> e.g. from Windows command line, Windows batch file or Windows shortcut
OK thanks, this is the information I was missing.
OK thanks, this is the information I was missing.
winscp.com
(without arguments), you start interactive scripting mode, where you can type/test commands directly, e.g. you can type your echo hello world
.
echo hello world
command to e.g. script.txt
and execute it with winscp.com /script=script.txt
(e.g. from Windows command line, Windows batch file or Windows shortcut).