Putting those batch commands to sleep...
Funny ... just when you think the whole world knows about some thing, you find out that ain't always the case.
Someone asked recently how to create a delay between executing two separate commands in a batch file. The answer (of course) is to use the 'sleep.exe' utility. But in Microsoft's infinite wisdom, they don't just give it to you ... you've got to download it, and install it. And then remember to install it on every workstation that may need torun the batch script you're creating.
Sleep.exe is included in the free Windows 2003 Resource Kit, which you can download from here:
And here is the command format:
Usage: sleep time-to-sleep-in-seconds
sleep [-m] time-to-sleep-in-milliseconds
sleep [-c] commited-memory ratio (1%-100%)
So, to force a delay of 3 seconds, you would enter sleep 3 or sleep -m 3000