In a script how can you insert a pause for X seconds between two commands?
Thanks Andrew.
Printable View
In a script how can you insert a pause for X seconds between two commands?
Thanks Andrew.
If you are referring to VBS, it would be
Wscript.Sleep 500 'time is in milliseconds
For JS it would be
Wscript.Sleep(500); 'time is in milliseconds
Scripting from a .bat file. I found the tool i was looking for on google, called wait.bat.
Thanks andrew
Here's a DOS command that will pause for 10 seconds:Note: You can change both those "10"'s to anything from "0" to "99".
- choice/c:./t:.,10/n "Pausing for 10 seconds ..."
More info: http://www.vfrazee.com/ms-dos/6.22/help/choice.htm