xtcanything
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
Nevermind, I found a file named sleep.com that does what I need it to do.
dmg
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.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.