home *** CD-ROM | disk | FTP | other *** search
/ Der Mediaplex Sampler - Die 6 von Plex / 6_v_plex.zip / 6_v_plex / DISK5 / DOS_04 / DAYBAT12.ZIP / DAYBAT.DOC next >
Text File  |  1992-07-13  |  6KB  |  151 lines

  1.  
  2.                                DAYBAT V1.2
  3.                            (c) Joseph Sheppard
  4.  
  5. What is it?
  6. ───────────
  7.  
  8. Daybat is a utility that will allow you to run a different batch file
  9. once a day, every day of the week.
  10.  
  11. The ideal way to use DAYBAT is by making it a part of your AUTOEXEC.BAT
  12. file.  Then, each time your computer is turned on, DAYBAT will run the
  13. batch file for whatever day of the week it happens to be.
  14.  
  15. Upto five command line variables can be passed to the daily batch files.
  16. To pass a variable to a batch file, simply run DAYBAT in the same manner
  17. you would run the batch file:
  18.  
  19. DAYBAT /ALL /NOSOUND
  20.  
  21. Would run the daily batch file and pass the varaibles /ALL and /NOSOUND
  22. as %1 and %2 to the batch file.
  23.  
  24. Daybat will terminate with a DOS Errorlevel of 1-7 depending on the day
  25. of the week (1=Sunday, 2=Monday, 3=Wednesday, 4=Thursday, 5=Friday,
  26. 6=Saturday, 7=Sunday).
  27.  
  28.  
  29. What do I have to do?
  30. ─────────────────────
  31.  
  32. Create upto seven batch files.  Name them with the first three letters
  33. of the days of the week:
  34.  
  35. SUN.BAT
  36. MON.BAT
  37. TUE.BAT
  38. WED.BAT
  39. THU.BAT
  40. FRI.BAT
  41. SAT.BAT
  42.  
  43. In these batch files, you place the commands you want executed on each
  44. day.  If you don't want a batch file to run on a particular day, then
  45. don't create a file for that day.  DAYBAT will return a message
  46. saying that the batch file was not found, and abort.
  47.  
  48. DAYBAT.EXE must be in your DOS path.  Each batch file must be in
  49. the directory that you run the program from.  This allows you to
  50. have different DAYBAT batch files on various directories.  For
  51. most AUTOEXEC.BAT installations you'll want your batch files in
  52. the root directory.
  53.  
  54. Daybat will run once each day.  If you would like for it to run each and
  55. every time the computer is booted, then you must delete the file called
  56. DAYBAT.DAT, which is located on the directory you are running DAYBAT from.
  57. DAYBAT.DAT is recreated each time DAYBAT is successfully run, so a good way
  58. to automatically delete the file is to add the following line to your
  59. batch file that runs DAYBAT:
  60.  
  61. if exist DAYBAT.DAT del DAYBAT.DAT
  62.  
  63. The above line must be executed before DAYBAT.EXE in order to work
  64. correctly.
  65.  
  66. REGISTRATION?
  67. ─────────────
  68.  
  69. If you find that DAYBAT meets your needs, then please send a Shareware
  70. contribution to the author.  The suggested amount is $5.00, however larger
  71. or smaller contributions are greatfully accepted.  I do not expect you to
  72. send a contribution if this software doesn't meet your needs.  If you put
  73. it in your AUTOEXEC.BAT file, and leave it there for more than a week, I'd
  74. say that it does meet your needs, and you should register the program.
  75.  
  76. DAYBAT is a fully functional program.  This means that the author has not
  77. held back any features, or crippled the program in any way.  If you
  78. register the program, you will not receive a different version that does
  79. something different.  You will receive a personal letter from the author
  80. thanking you for supporting the shareware concept.
  81.  
  82. Please send your voluntary contributions (payable to The Ledge PCBoard) to:
  83.  
  84. The Ledge PCBoard
  85. ATTN: Joseph Sheppard
  86. 6858 Acco St.
  87. Los Angeles, CA 90040
  88.  
  89. I can be reached at my BBS, The Ledge PCBoard (818) 896-4015 HST/V.32bis.
  90. Or the U'NI-net Echomail Network Shareware Conference, Compuserve 76175,623
  91. or US Mail at the address above.
  92.  
  93. While this program performs fine on my system, I can't guarantee that it
  94. will work at all on yours. If you have a problem, contact me and I will
  95. attempt to solve the problem.
  96.  
  97.  
  98. THANKS
  99. ──────
  100.  
  101. Thanks to Jon Badeaux for providing the original idea for DAYBAT.
  102.  
  103. Thanks to Dean Gangstee for the suggestion of ending Daybat on an
  104. errorlevel calculated for a day of the week.
  105.  
  106. OTHER PROGRAMS BY THIS AUTHOR
  107. ─────────────────────────────
  108.  
  109. TextView Door: Used to display online magazines. Also great for new user
  110. information or product supports.  Allows "freebie" downloading inside
  111. the door by shelling to external protocol drivers. TVIEWxx.ZIP.
  112.  
  113. BBSList Door: Allows callers to create a BBS List.  The list can be
  114. viewed, downloaded or scanned by keyword.  Automatically checks for
  115. duplicate numbers for easy maintenance.  BLISTxx.ZIP.
  116.  
  117. FASTHST: Configures a USRobotics HST modem to run with port locked at
  118. high speed.  Writes settings to NRAM so a simple ATZ in the
  119. modem init string will bring up the preferred settings. FSTHSTxx.ZIP.
  120.  
  121. QTIME: For BBS's running Network mail.  Creates an ASCII and ANSI file
  122. telling when the last mail transfer took place.  Great for the top of
  123. BBS NEWS displays.  QTIMExx.ZIP.
  124.  
  125. DDoor: A PCBoard BBS Door that allows callers to open another door
  126. instead of returning to the BBS.  DDOORxx.ZIP.
  127.  
  128. ATSend: Sends "AT" commands to Hayes compatible modems from DOS or batch
  129. files.  ATSENDxx.ZIP.
  130.  
  131. These programs and all recommended third party support packages are always
  132. available for download on The Ledge 818-896-4015 (V.32bis/HST) on the first
  133. call in the SUPPORT DOOR.
  134.  
  135.  
  136. DISCLAIMER
  137. ──────────
  138.  
  139. I make no warranty of any kind, express or implied, including without
  140. limitation, any warranties of merchantability and/or fitness for a
  141. particular purpose. I shall not be liable for any damages, whether
  142. direct, indirect, special or consequential arising from a failure of
  143. this program to operate in the manner desired by the user. I shall not
  144. be liable for any damage to data or property which may be caused
  145. directly or indirectly by the use of this program.
  146.  
  147. IN NO EVENT WILL I BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING ANY
  148. LOST PROFITS, LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL
  149. DAMAGES ARISING OUT OF YOUR USE OR INABILITY TO USE THE PROGRAM, OR
  150. FOR ANY CLAIM BY ANY OTHER PARTY.
  151.