→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !
‎02-07-2024 01:12 PM
Hi everyone !
When I have a package with multiple cmd command steps does each step happen in its own cmd window or does the second step keep going where the first step stopped ?
Is it possible to write multiple commands in one cmd command step ?
Solved! Go to Solution.
‎02-07-2024 09:42 PM
I was actually testing multiple commands in a single step yesterday and got it working. If you put an ampersand (&) between the commands, that will run each command in sequence.
‎02-08-2024 03:08 PM
As far as I know, it should use the same command window.
‎03-14-2024 04:08 PM
Also keep in mind that using a single (&) will execute the second statement even if the first fails. If you use a double (&&) then the second statement will only execute if the first succeeds.
‎02-07-2024 09:42 PM
I was actually testing multiple commands in a single step yesterday and got it working. If you put an ampersand (&) between the commands, that will run each command in sequence.
‎02-08-2024 10:49 AM
Thanks for the tip do you also know whether each command is executed in a separate window
‎02-08-2024 03:08 PM
As far as I know, it should use the same command window.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now