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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top