.
if you don''twant to dig up that silly sleep command
theres work arounds for it.
Windows XP does not come with such a command, there are tricks to emulate it, such as a 'ping' command trick to emulate the sleep command
For DOS, Windows 95, and Windows 98 machines
Create the following batch file and name it WAIT.BAT.
@CHOICE /T:N,%1% > NUL
Now, in order to wait 10 seconds in a batch file, just call the WAIT.BAT batch file as follows:
CALL WAIT 10
For Windows 95, Windows 98, Windows NT, Windows 2000, Windows XP, or Windows 2003 machines
You can use the following WAIT.BAT, as the CHOICE command is not included in the default install on Windows NT, Windows 2000, Windows XP, or Windows 2003:
@ping 127.0.0.1 -n 2 -w 1000 > nul
@ping 127.0.0.1 -n %1% -w 1000> nul
Last edited by sdabbs65; 11-07-2006 at 09:51 AM..
Reason: nfc
|