home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / ibm / pc / misc / 14468 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.3 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!caen!mtu.edu!abcd.Houghton.MI.US!Jim_Johnson
  2. From: Jim_Johnson@abcd.Houghton.MI.US (Jim Johnson)
  3. Newsgroups: comp.sys.ibm.pc.misc
  4. Subject: Re: Looking for a 'day of week checker' batch program
  5. Distribution: world
  6. Message-ID: <Jim_Johnson.0aql@abcd.Houghton.MI.US>
  7. Date: 6 Nov 92 23:32:13 EST
  8. Organization: Amiga BitSwap Central Dispatch
  9. Lines: 23
  10.  
  11. In a message dated Fri  6 Nov 92 12:09, Don@chopin.udel.edu (donald R Lloyd
  12. wrote:
  13.  
  14.  
  15.  DRL>      I need to track down a small program for use in batch files
  16.  DRL> that
  17.  DRL> will check to see if it is a certain day of the week and call a 
  18.  DRL> program or batch file if so.
  19.  DRL>      Anyone know if a program such as this exists, or will I have to
  20.  DRL> 
  21.  DRL> track down a compiler somewhere and roll my own?
  22.  
  23. DOS Power Tools (1st edition) has a DEBUG routine for GETDAY.COM which
  24. returns an error code based on the current day of the week.  Pop it into a
  25. batch file and it will control program flow as needed above. (There is also
  26. GETDATE, GETMONTH, etc.)
  27.  
  28. -- Via DLG Pro v0.995
  29.  
  30. jim_johnson@abcd.houghton.mi.us
  31. from Calumet, Michigan, USA -the world's former copper mining capital, 
  32. located on Lake Superior and home to America's newest National Park,
  33. ** The Keweenaw National Historic Park **
  34.