home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
ertime12.zip
/
TEST.BAT
< prev
Wrap
DOS Batch File
|
1995-04-08
|
3KB
|
156 lines
@echo off
doorhrs
if errorlevel 23 goto hour23
if errorlevel 22 goto hour22
if errorlevel 21 goto hour21
if errorlevel 20 goto hour20
if errorlevel 19 goto hour19
if errorlevel 18 goto hour18
if errorlevel 17 goto hour17
if errorlevel 16 goto hour16
if errorlevel 15 goto hour15
if errorlevel 14 goto hour14
if errorlevel 13 goto hour13
if errorlevel 12 goto hour12
if errorlevel 11 goto hour11
if errorlevel 10 goto hour10
if errorlevel 9 goto hour9
if errorlevel 8 goto hour8
if errorlevel 7 goto hour7
if errorlevel 6 goto hour6
if errorlevel 5 goto hour5
if errorlevel 4 goto hour4
if errorlevel 3 goto hour3
if errorlevel 2 goto hour2
if errorlevel 1 goto hour1
if errorlevel 0 goto hour0
goto endbat
:hour23
REM put commands here
echo Commands will execute between 23:00 to 23:59
goto endbat
:hour22
REM put commands here
echo Commands will execute between 22:00 to 22:59
goto endbat
:hour21
REM put commands here
echo Commands will execute between 21:00 to 21:59
goto endbat
:hour20
REM put commands here
echo Commands will execute between 20:00 to 20:59
goto endbat
:hour19
REM put commands here
echo Commands will execute between 19:00 to 19:59
goto endbat
:hour18
REM put commands here
echo Commands will execute between 18:00 to 18:59
goto endbat
:hour17
REM put commands here
echo Commands will execute between 17:00 to 17:59
goto endbat
:hour16
REM put commands here
echo Commands will execute between 16:00 to 16:59
goto endbat
:hour15
REM put commands here
echo Commands will execute between 15:00 to 15:59
goto endbat
:hour14
REM put commands here
echo Commands will execute between 14:00 to 14:59
goto endbat
:hour13
REM put commands here
echo Commands will execute between 13:00 to 13:59
goto endbat
:hour12
REM put commands here
echo Commands will execute between 12:00 to 12:59
goto endbat
:hour11
REM put commands here
echo Commands will execute between 11:00 to 11:59
goto endbat
:hour10
REM put commands here
echo Commands will execute between 10:00 to 10:59
goto endbat
:hour9
REM put commands here
echo Commands will execute between 09:00 to 09:59
goto endbat
:hour8
REM put commands here
echo Commands will execute between 08:00 to 08:59
goto endbat
:hour7
REM put commands here
echo Commands will execute between 07:00 to 07:59
goto endbat
:hour6
REM put commands here
echo Commands will execute between 06:00 to 06:59
goto endbat
:hour5
REM put commands here
echo Commands will execute between 05:00 to 05:59
goto endbat
:hour4
REM put commands here
echo Commands will execute between 04:00 to 04:59
goto endbat
:hour3
REM put commands here
echo Commands will execute between 03:00 to 03:59
goto endbat
:hour2
REM put commands here
echo Commands will execute between 02:00 to 02:59
goto endbat
:hour1
REM put commands here
echo Commands will execute between 01:00 to 01:59
goto endbat
:hour0
REM put commands here
echo Commands will execute between 00:00 to 00:59
:endbat
REM Put your cleanup routines here.
echo.
echo Done!
echo.