I can run multiple cmd commands like this
Code: Select all
run, %comspec% /k ipconfig & help
Code: Select all
run, %comspec% /k ftp & open localhost & username & password
Code: Select all
run, %comspec% /k ipconfig & help
Code: Select all
run, %comspec% /k ftp & open localhost & username & password
You might get forced using ftp's "file"-option ... https://ss64.com/nt/ftp.htmlCommand A & Command B
Execute Command A, then execute Command B (no evaluation of anything)
Command A | Command B
Execute Command A, and redirect all its output into the input of Command B
Command A && Command B
Execute Command A, evaluate the errorlevel after running and if the exit code (errorlevel) is 0, only then execute Command B
Command A || Command B
Execute Command A, evaluate the exit code of this command and if it's anything but 0, only then execute Command B
Users browsing this forum: prototype_zero and 276 guests