🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Looking for a 'day of week checker' batch program

#5999
From: Jim Johnson
Date: Sat, 07 Nov 1992 04:32
23 lines
1342 bytes
In a message dated Fri  6 Nov 92 12:09, Don@chopin.udel.edu (donald R Lloyd
wrote:


 DRL>      I need to track down a small program for use in batch files
 DRL> that
 DRL> will check to see if it is a certain day of the week and call a 
 DRL> program or batch file if so.
 DRL>      Anyone know if a program such as this exists, or will I have to
 DRL> 
 DRL> track down a compiler somewhere and roll my own?

DOS Power Tools (1st edition) has a DEBUG routine for GETDAY.COM which
returns an error code based on the current day of the week.  Pop it into a
batch file and it will control program flow as needed above. (There is also
GETDATE, GETMONTH, etc.)

-- Via DLG Pro v0.995

jim_johnson@abcd.houghton.mi.us
from Calumet, Michigan, USA -the world's former copper mining capital, 
located on Lake Superior and home to America's newest National Park,
** The Keweenaw National Historic Park **
Technical Details
Message-ID: <Jim_Johnson.0aql@abcd.Houghton.MI.US>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!caen!mtu.edu!abcd.Houghton.MI.US!Jim_Johnson

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!caen!mtu.edu!abcd.Houghton.MI.US!Jim_Johnson
From: Jim_Johnson@abcd.Houghton.MI.US (Jim Johnson)
Newsgroups: comp.sys.ibm.pc.misc
Subject: Re: Looking for a 'day of week checker' batch program
Distribution: world
Message-ID: <Jim_Johnson.0aql@abcd.Houghton.MI.US>
Date: 6 Nov 92 23:32:13 EST
Organization: Amiga BitSwap Central Dispatch
Lines: 23