28 Apr 2008 at 10:23 #1 m4cc45 m4cc45 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.
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.
28 Apr 2008 at 10:54 #2 m4cc45 m4cc45 Soldato OP Joined 10 Mar 2003 Posts 6,875 Ignore I just downloaded wait.exe Sometimes the obvious things are the hardest to think of! M.
28 Apr 2008 at 14:01 #3 JayMax JayMax Soldato Joined 2 Nov 2002 Posts 2,809 wait isn't a native command is it? I use: ping 127.0.0.1 -n 10 >nul that should do the same thing I think.
wait isn't a native command is it? I use: ping 127.0.0.1 -n 10 >nul that should do the same thing I think.
28 Apr 2008 at 14:06 #4 randal randal Soldato Joined 1 Oct 2006 Posts 14,601 sleep x (where x=seconds) Unless that's not in Vista?
28 Apr 2008 at 17:35 #5 K.C. Leblanc K.C. Leblanc Soldato Joined 13 Sep 2003 Posts 8,556 Location Glocestershire Might be worth having a look at AutoIT. It's a handy scripting language, especialy if like me you have a hatred of VB script.
Might be worth having a look at AutoIT. It's a handy scripting language, especialy if like me you have a hatred of VB script.
28 Apr 2008 at 21:34 #6 m4cc45 m4cc45 Soldato OP Joined 10 Mar 2003 Posts 6,875 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.
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.