wait feature in Windows 2000

  • Thread starter Thread starter Pankaj Mandalia
  • Start date Start date
P

Pankaj Mandalia

Hi All:
I am trying to run a script in which a command (like net
start <service_name> ) requires a wait of 15 seconds
before the execution of the next command in the script.
Can some one please suggest a way of doing this. These
commands will be placed in a dot bat file for scheduled
execution.
Thank you.
Pankaj.
 
You might be able to use something like the following in
a batch file.

Start /wait net start <Service>
Start /wait net start <Service>

Hawkens
 
Back
Top