I do not see what does this have to do with "compatibility with WinSCP".
Anyway, Batch file is a script of
So instead of making Greenshot run
make it run
And the
Anyway, Batch file is a script of
cmd.exe
, the same way yourscript.txt
is a script of WinSCP. So if Greenshot can run WinSCP with a script, then it for sure can run even a batch file (via cmd.exe
).
So instead of making Greenshot run
winscp.com /script=C:\path\to\winscpscript.txt /parameter // """{0}"""
make it run
cmd.exe /c C:\path\to\thebatch.bat """{0}"""
And the
thebatch.bat
would be something like I've shown above.