home *** CD-ROM | disk | FTP | other *** search
- You can use DELAY.EXE to insert timed pauses
- into batch files.
-
- A max delay time can be inserted after DELAY, in tenths of a second.
- Such as DELAY 10 = 1 sec. pause
-
- Pressing Esc will abort delay and return an errorcode of 99 for
- batch file errorlevel checking.
-
- Minumum value is DELAY 1
- Maximum value is DELAY 32767 (about 9 hours)
-
- DELAY with no time number will delay 1 second.
-
- Example:
-
- echo off
- :Begin
- echo This is a test
- soundoff 400 200 10 10
- delay 5
- if errorlevel 99 goto Done
- echo Still Testing......
- dir/w
- delay 10
- if errorlevel 99 goto Done
- GOTO Begin
- :Done
-
- You are welcome to use and distribute DELAY with your work.
-