I am trying to run multiple commands in one line. The codes are below.
WinSCP.com
open user:pw@address
lcd C:\Users\xx\Desktop
get *.xlsx
exit
If I run them one by one, it will work. However, if I want to run them all together using one line, it will fail, no matter I am using ;
or &
.
For example, if I run WinSCP.com & open user:pw@address
, only the first part will be executed.
WinSCP.com; open user:pw@address
doesn't work either.
How to execute them using one line?
Thanks