Is it possible to insert a timed pause in a DOS batch file?
It should act like the pause command, but instead of having to hit any key, it will continue on its own in X seconds.
Is it possible to insert a timed pause in a DOS batch file?
It should act like the pause command, but instead of having to hit any key, it will continue on its own in X seconds.
The ugly, but traditional, solution that I've seen used when you don't want to install any non-stock software is to use PING. Such as:
The 6 is necessary because the first request is returned almost immediately, counting for roughly "0" seconds, so you need to send x + 1 more requests to get the desired delay.
Assuming you're not talking about DOS batch files but Windows batch files:
If you mean "batch" files. There's no built-in command; but the Win2003 Resource Pack included a program that functions the same. More info here: http://malektips.com/xp_dos_0002.html
Or, you could do it this way: