Pause function

In Windows Vista and later there is no good pause command for pausing a script.

Here is a solution that works like a charm. Put this in your batch file

Use the ping trick:
 <code>:sleep
ping 127.0.0.1 -n 2 -w 1000 > NUL
ping 127.0.0.1 -n %1 -w 1000 > NUL

then from somewhere in your batch file, you can call it like so:
 <code>CALL :sleep 1
</code>
Joomla SEF URLs by Artio