Category : File Managers
Archive   : PALERT24.ZIP
Filename : DAY.BAT

 
Output of file : DAY.BAT contained in archive : PALERT24.ZIP
echo off
palert /d

rem NOTE: Errorlevels MUST be evaluated from the greatest to the lowest.
rem If you do not, the batch file will not work.

if errorlevel = 6 goto sat
if errorlevel = 5 goto fri
if errorlevel = 4 goto thu
if errorlevel = 3 goto wed
if errorlevel = 2 goto tue
if errorlevel = 1 goto mon
if errorlevel = 0 goto sun
goto error

:sat
echo Today is Saturday
goto end

:fri
echo Today is Friday
goto end

:thu
echo Today is Thursday
goto end

:wed
echo Today is Wedensday
goto end

:tue
echo Today is Tuesday
goto end

:mon
echo Today is Monday
goto end

:sun
echo Today is Sunday
goto end

:error
:end


  3 Responses to “Category : File Managers
Archive   : PALERT24.ZIP
Filename : DAY.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/