home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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 **
-