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
   Local Database  BAT Magic   [108 / 250] RSS
 From   To   Subject   Date/Time 
Message   Visitor    MGA   If DATE is..then 2/3   September 17, 1995
 1:18 AM *  

 > I'm looking for help with a small batch file to run under DOS 6.22
 > that will type an ansi file on a certain date i.e.
 > IF DATE = "20/09/95" THEN TYPE HELLO.ANS

Yet another solution:

echo off
DATEERR
if errorlevel 20 if not errorlevel 21 type HELLO.ANS

 -+-+--------------------------------------------------------------
; Returns an errorlevel equal to the day of the month
N DATEERR.COM
A100
MOV    AH,2A
INT    21
MOV    AL,DL
MOV    AH,4C
INT    21

RCX
A
W
Q

 -+-+--------------------------------------------------------------

 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.


___ Blue Wave/QWK v2.12
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to BAT Magic  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0181 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.
v2.1.241108