or some other time consuming routine, not great I know but from memory the only way it could be done using pure batch. The other way of course is to shell execute your first batch file in a little vb app, then run a timer to ‘wait’ and then run the second half of your batch file. Nicer for an end user, but a little harder to do.
You could also get the sleep.exe executable from the NT resource kit (not sure if it is still available in 2000/XP etc) then use the sleep command in the batch file.
You simply add a line along the lines of
c: ools\sleep.exe 2h10m
(not sure of the exact format, used to use it on a patch disk to add machines to the domain)
is it necessary to use a .bat, try VB script(.vbs), it’s alot more powerfull and iirc anything from 2K onwards will run it, if you can write batch files you can write VBS files, trust me it’s how I got started.
I have a whole host of little scrips here you can rip apart if you want to learn the way I did.
i looked at the help command at the time and couldnt see a wait command, trying help in my cmd prompt i still cant see a wait command am i missing something?