CMD Help

  • Thread starter Thread starter Mangler
  • Start date Start date
M

Mangler

Say I have a .bat file that has 3 commands in it:

command1

command2

command3

I need to make sure that command1 is done before command2 starts and
the same for command3 waiting for command2 to finish before starting.

How can I do that?
 
Say I have a .bat file that has 3 commands in it:

command1

command2

command3

I need to make sure that command1 is done before command2 starts and
the same for command3 waiting for command2 to finish before starting.


If you want starting one to wait until another is finished, use the
Start command with the /wait parameter in the batch file. Type
start /? at a command prompt for more information.
 
Back
Top