@echo OFF REM ************************************************************************** REM *** Wait.bat - Wait for a specified number of seconds before returing. *** REM *** No check is done on the input being valid. *** REM *** This example would wait ten seconds: " Wait 10" *** REM ************************************************************************** CEnvi " start=time(); while( difftime(time(),start) < %1 ) ; " REM ******************************************************************** REM *** The following method would have been an easier way to wait *** REM *** the same amount of time, but it wouldn't have been such fun. *** REM ******************************************************************** REM CEnvi suspend(%1 * 1000)