echo off
cls
echo This batch file demonstrates the use of the GETDOW command.
echo .
echo It illustrates how to load a program only on Mondays.
echo .
GETDOW
if errorlevel==6 goto Saturday
if errorlevel==5 goto Friday
if errorlevel==4 goto Thursday
if errorlevel==3 goto Wednesday
if errorlevel==2 goto Tuesday
if errorlevel==1 goto Monday
if errorlevel==0 goto Sunday
goto end

:Saturday
goto end
:Friday
goto end
:Thursday
goto end
:Wednesday
goto end
:Tuesday
goto end
:Monday
rem		Monday's routine commands need to go here.
Echo Today is Monday!!!
goto end
:Sunday
goto end

:end
