🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #5976

Looking for a 'day of week checker' batch program

#5976
From: Donald R Lloyd
Date: Fri, 06 Nov 1992 14:22
22 lines
1302 bytes

     I need to track down a small program for use in batch files that
will check to see if it is a certain day of the week and call a 
program or batch file if so.
     For example, when the user comes into work in the morning and
boots up, a line in the autoexec would do something along the lines of

   "is_day tuesday tues.bat",
   
    so if today is tuesday it will call the batch file 'tues', otherwise
the line will be ignored.  

     Anyone know if a program such as this exists, or will I have to 
track down a compiler somewhere and roll my own?


-- 
Don Lloyd                / "No, I just think that a computer grafted on top of \
don@chopin.udel.edu      | another computer is a kludge.  It has nothing to do |
GeNIE: D.LLOYD7          \ with the Intel CPU"  - Jerry Shekhel                /
BIX: DRL  
Technical Details
Message-ID: <BxAt8z.8K1@news.udel.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!news.udel.edu!chopin.udel.edu!don

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.ibm.pc.misc,comp.os.msdos.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!news.udel.edu!chopin.udel.edu!don
From: don@chopin.udel.edu (Donald R Lloyd)
Subject: Looking for a 'day of week checker' batch program
Message-ID: <BxAt8z.8K1@news.udel.edu>
Sender: usenet@news.udel.edu
Nntp-Posting-Host: chopin.udel.edu
Organization: University of Delaware
Distribution: na
Date: Fri, 6 Nov 1992 14:22:11 GMT
Lines: 22