SLEEP.exe (Resource Kit)
Add a fixed delay to a batch file
Syntax SLEEP time Key time : the number of seconds to pause
For example:
To pause for an hour before running the next command in a batch file:
SLEEP 3600
Alternative
A fixed delay can also be produced by the PING command with
a loopback address:
e.g. for a delay of 60 seconds:
PING -n 61 127.0.0.1>nul
See Clay Calvert's newsgroup posting for a full explanation of this technique.
"I think men talk to women so they can sleep with them and women sleep
with men so they can talk to them" Jay
McInerney
Related Commands:
TIMEOUT - Delay that allows the user to continue
WAIT - the same as sleep but with noises
WScript.Sleep - Sleep
Equivalent Linux BASH commands:
crontab - Schedule a command to run at
a later time