xtcanything
Jan 19 2004, 12:07 AM
In bat files how do you delay execution of next command. For example, if i have a file named test.bat and it contains the code:
ipconfig
test.bat
This will keep on executing the command ipconfig.exe forever. What i want to do is put a delay after the command ipconfig. What is the code that will allow me to do this?
xtcanything
Jan 19 2004, 12:32 AM
Nevermind, I found a file named sleep.com that does what I need it to do.
dmg
Jan 19 2004, 10:06 AM
No need for sleep.com/sleep.exe:
ping -n 5 localhost > nul
creates a pause of about 5 seconds.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.