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   [109 / 250] RSS
 From   To   Subject   Date/Time 
Message   The Shadow    mga   If DATE is..then :-)   September 15, 1995
 5:16 PM *  

Re: If DATE is..then :-)

>         IF DATE = "20/09/95" THEN TYPE HELLO.ANS
> Any suggestions welcome!
> TIA, Mike

I'm not sure of the exact procedure... but the idea is as follows:

make a text file that only contains the specified date, in the format it
appears when you use the DATE command.

Then , create the bat file with the line that says something like:

find "date" < date > xxx.txt

then use the fc copmmand to compare the two text files... if they are the
same, then it is the specified date, and fc will return "0000000", i think...

so, you test fc for its resuts, and if its 000000, then you type the file...

--The Shadow
  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.0132 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