AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to BAT Magic <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
Visitor | MARK KATZEN | Booting |
November 21, 1995 8:16 PM * |
|||
To: Mark Katzen MK> Can anyone tell me how I can have my system boot up, check the MK> date/day of the week, and run one of two or three different batch MK> files based on the date/day of the week? Day-of-week is easy, but what do you mean by date/day of week? --[Cut here]---------------------------------------------------------- a mov ah,2a int 21 mov ah,4c int 21 ndayoweek.com rcx 8 w q --[Cut here]---------------------------------------------------------- Save the script between the hash marks to an ASCII file. At the DOS prompt enter, "DEBUG < filename" where "filename" is the name of the saved ASCII file. :: batch to test dayoweek.com echo off dayoweek if errorlevel 6 echo Sat if errorlevel 5 if not errorlevel 6 echo Fri if errorlevel 4 if not errorlevel 5 echo Thr if errorlevel 3 if not errorlevel 4 echo Wed if errorlevel 2 if not errorlevel 3 echo Tue if errorlevel 1 if not errorlevel 2 echo Mon if errorlevel 0 if not errorlevel 1 echo Sun I have similar programs for day of month, and month of year if you need them. ... Mary had a little lamb, and a side order of fries! ___ Blue Wave/QWK v2.12 |
||||||
|
Previous Message | Next Message | Back to BAT Magic <-- <--- | Return to Home Page |
Execution Time: 0.0179 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |