Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pausing a batch file 1

Status
Not open for further replies.

montejr

Programmer
May 24, 2001
42
0
0
US
This should be an easy question. Does anyone know how to pause a batch file for 10 seconds without user input to make the file continue after 10 seconds?

Thanks,
Michael
 
PING 1.1.1.1 -n 10 -w 1000 >NUL
will delay execution of the next command 10 seconds, provided 1.1.1.1 is not a valid IP address.
 
"Sleep" requires the Windows 2000 Resource Kit. It is not included in the Win2k Pro installation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top