Wait in a BAT file - Vista x64

Soldato
Joined
10 Mar 2003
Posts
6,875
Hi,

I need to pause my bat file for a few seconds (as Windows initialises).

Normally I'd do:

WAIT 10

But this isn't in Vista. Is there any other command / way anyone knows of?

Thanks,



M.
 
WAIT was native in pre-vista machines but it's not in the current one.

SLEEP is also not in Vista.

The PING idea is a good one but as I'm only doing it local to this one machine downloading wait.exe was fine.

Thanks for the ideas though!



M.
 
Back
Top Bottom