|
WaitnGo.EXE v0.1 © 1996 Petena AB 960619/960619 JWe Johan Wahlén | ||
| Description | ******** Wait n' Go v0.1 Johan Wahlén 1996-06-19 ******** Syntax: "WaitnGo hh:mm Explaining text" hh:mm is the time when WaitnGo finishes. As explaining text you may submit what exactly you're waiting for. WaitnGo finishes with error codes correlating to the current week day Sunday makes code 1, Monday 2 etc. If the count down is interrupted by a key pressed code 9 is returned. | |
| Example | F:\PUBLIC\WAITNGO.EXE 23:10 Starting backup procedure at: if ErrorLevel=9 GOTO BREAK if ErrorLevel=2 GOTO WeekDay if ErrorLevel=1 GOTO WeekEnd Echo What day is it? I don't know! GOTO ERROR :WeekEnd SET DAY=Weekend F:\PUBLIC\LOG.EXE %LOGDIR%PDB_ No backup during weekends KeyLoop 80 if errorlevel=1 Goto END if errorlevel=0 Goto BREAK GOTO END :WeekDay SET DAY=WeekDay GOTO GO | |
| Result | ******** Wait n' Go v0.1 Johan Wahlén 1996-06-19 ******** Current time is: 17:36:52 Time left: 05:33:08 Starting backup procedure at: 23:10:00 ************************************************************ | |
| Error Codes |
0 1 2 3 4 5 6 7 9 |
This is an error. The program can not estimate what day it is today Today it is Sunday Today it is Monday Today it is Tuesday Today it is Wednesday Today it is Thursday Today it is Friday Today it is Saturday The user pressed a key and answered yes to quit. |
| Register | Please register your copy through http://www.petena.se/support/register.htm | |
| Comments | Your impression is very welcome through http://www.petena.se/support/report.htm | |
| Notes | !=Warning or Bug, +=Additions to be made, -=Comment | |
| ! | If you call waitngo within the same minute (60 seconds) as the waiting time is supposed to end waitngo will immediately terminate. In a batch this can cause a loop causing the program to start and finish many times within one minute. | |
| History | ||
| http://www.petena.se/software/dos/waitngo.htm | ||