Anybody knows how to set a delay in a batch file? Haven't had success with the choice command (I don't that one doesn't work in XP). What I want is a delayed action of the batch file.
You can use the pause comment to stop the file until the user presses a key. I believe there is a pause function available, but you need to download some additional software from Microsoft to get it working (I believe it's called Microsoft Services for UNIX). A quick google search revealed this hack: ECHO Waiting 5 seconds PING 127.0.0.1 -n 1 -w 5000 > NUL Code (markup):