home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / bbs / chekdate.zip / CHEKDATE.DOC < prev    next >
Text File  |  1994-01-24  |  7KB  |  217 lines

  1.  
  2.                        ________
  3.                    ____|__     |               
  4.                 --|       |    |-------------------
  5.                   |   ----|--  |  Association of
  6.                   |  |       |_|  Shareware
  7.                   |__|   o   |    Professionals
  8.                 -----|   |   |---------------------
  9.                      |___|___|    
  10.                         
  11.     
  12.     
  13.     
  14.     ********** CHECKDATE - File and/or FILES.BBS Manager **************
  15.  
  16.                  Written by Antonio  . Ortiz
  17.                  Concept by Rob Echler and Edward Tushar
  18.  
  19.                  C o p y r i g h t  (c)   1 9 9 4
  20.  
  21.  
  22. CheckDate, Copyright (c) 1994 by Antonio Ortiz, is being distributed 
  23. as Shareware. Under this concept you may use the SHAREWARE (unregistered) 
  24. version for a reasonable period of time for evaluation after which you 
  25. must either register your copy or discontinue  usage.
  26.  
  27. ===============================================================================
  28.                      
  29. Disclaimer:
  30.  
  31.      This program and other files associated with it are not 
  32.      guaranteed to be bug free or virus free.  We are not
  33.      responsible for any damages of any kind, including
  34.      profit losses and data loss, that relate directly or
  35.      indirectly to this program and files.  You may distribute 
  36.      this program, as long as it is in unmodified with all the 
  37.      files originally included.
  38.  
  39. ===============================================================================
  40.  
  41. What is Checkdate?
  42.  
  43.   Simply put, Checkdate will read user defined directories, check the file
  44. date to your system date, and delete those files that are so many days old.
  45. It will also remove that filename and description from your FILES.BBS 
  46. listing.  If a file is not in the specified directory, it will simply remove
  47. the listing from the FILES.BBS.  
  48.  
  49. It will also add files that are found in the directory but not listed in 
  50. the FILES.BBS file and add them for you.
  51.  
  52. A switch has been added to allow the users of Maximus BBS software to read
  53. the directories and number of days to delete directly from the "filearea.ctl"
  54. file.
  55. ===============================================================================
  56.  
  57. Why was it created?
  58.  
  59.   Two Sysops, Rob Echler and Edward Tushar, sat down and said they needed
  60. a program that could look at a certain directory and delete files that were
  61. so many days old.  This small beginning led to some minor improvements such
  62. as a configuration file to define the directory list, a log file so you know
  63. what was deleted and any other status messages, the ability to set the 
  64. number of days back to delete files, and the ability to remove the file and
  65. description from the FILES.BBS to keep it up to date!  
  66.  
  67. ===============================================================================
  68.  
  69. Requirements:
  70.  
  71.  * A computer
  72.  
  73.  * Files that need to be deleted
  74.  
  75. Simple!  You don't even need to have a BBS to use this program or a FILES.BBS!
  76.  
  77. ===============================================================================
  78.  
  79. Files Needed:
  80.  
  81.  * CHEKDATE.EXE  -  The executable program
  82.  
  83.  * CHEKDATE.CFG  -  The configuration file
  84.  
  85. ==============================================================================
  86. ======================NON-MAXIMUS BBS SETUP===================================
  87. The following configuration is for people that don't use MAXIMUS BBS software
  88. in the field "MAXI!" you must place a "N", then list the directories in the
  89. configuration file. This will also work on Maximus BBS software.
  90.  
  91. NAME!(USE ALL CAPS WITH NO BLANK SPACES AT THE END)
  92. REGS!(USE ALL CAPS WITH NO BLANK SPACES AT THE END)
  93. LOGG!B:\ZBBS\LOG\CHEKDATE.LOG
  94. FILE!FILES.BBS
  95. MAXI!N
  96. DAYS DIRECTORIES...
  97. 10   B:\ZBBS\BBS1
  98. 15   B:\ZBBS\BBS1\BBS11
  99. 20   B:\ZBBS\BBS1\BBS12
  100. 25   B:\ZBBS\BBS2
  101. 30   B:\ZBBS\BBS2\BBS21
  102. 35   B:\ZBBS\BBS3
  103. 40   B:\ZBBS\BBS3\BBS31
  104. 45   B:\ZBBS\BBS3\BBS32
  105. 50   B:\ZBBS\BBS3\BBS33
  106.  
  107.  
  108. Note there are NO spaces after the exclamation point (!) and the information
  109. following it!
  110.  
  111. ===========================MAXIMUS BBS SETUP==================================
  112.  
  113. The following setup is for users of MAXIMUS BBS software.
  114.  
  115. NAME!JOE SYSOP (USE ALL CAPS)
  116. REG!Your registration number
  117. LOGG!The complete path and name of your log file
  118. FILE!FILES.BBS <-- Do not change!
  119. MAXI!C:\MAXIMUS\FILEAREA.CTL (PATH AND NAME OF YOUR FILEAREA.CTL FILE)
  120. DAYS DIRECTORY 
  121.  
  122. You will need to make a entry in each area of your filearea.ctl file
  123. to tell CHEKDATE how many days old you wish the files in that directory
  124. to be. Here is an example of a filearea.ctl entry.
  125.  
  126. Area 1
  127.         FileAccess Disgrace
  128.         FileInfo Family Type Games
  129.         Download c:\max\file\games
  130.         Upload c:\max\file\uncheck
  131.         %Days 45 <- this is the number of days you want.
  132. End Area
  133.  
  134.  
  135.  
  136. The number of days old to delete the file.  
  137. The default is 30 and can only be changed in the registered version.
  138.  
  139. Note there are NO spaces after the exclamation point (!) and the information
  140. following it!
  141.  
  142. Simple!  Now you are ready to run!
  143.  
  144. ===============================================================================
  145.  
  146. CHEKDATE can be ran with no command line parameters.  
  147.  
  148.  
  149. SWITCHES:
  150.  
  151.  
  152.  
  153.  /N OR /n 
  154.  
  155.  This will cause CHEKDATE to run through the directories without deleting any files.  Then you can check the created
  156. log file to see what files are going to be deleted, what problems are found
  157. in your FILES.BBS, and any files that are listed in your FILES.BBS but were
  158. not found in the directory.  
  159.  
  160. /Q OR /q
  161.  
  162.  This will cause CHEKDATE to run in quiet mode, nothing will be seen on 
  163.  your screen. 
  164.  
  165. /P or /p
  166.  
  167.  This will send all output to your printer.
  168.  
  169. /A or /a
  170.  
  171.  This will allow you to add files to the files.bbs that are in the directory
  172.  but not listed in the files.bbs file, it will append a description as
  173.  (NO DESCRIPTION GIVEN). Any files entered with this switch will have the file 
  174.  date reset to the current date, and will not be deleted until the number of days
  175.  listed in the filearea.ctl or chekdate.cfg.
  176.  
  177.  
  178. A sample batch file might be:
  179.  
  180. CLS
  181. CD\BBS
  182. CHEKDATE 
  183. RUNFB (To rebuild the File Database after changes are made to the FILES.BBS
  184. CD\MAILER
  185. MAILER
  186.  
  187. ===============================================================================
  188.  
  189. Now, about registering!
  190.  
  191. Simple, the registration cost for this program is $10.  The $10 will allow you
  192. to change the number of days you wish to delete files.  It will also give you
  193. a nice feeling inside.  
  194.  
  195. ===============================================================================
  196.  
  197. Future improvements:
  198.  
  199.  + Ability to read several different type BBS file listing formats
  200.  
  201. Really not much left to improve upon.  Suggestions are welcome!
  202.  
  203. ===============================================================================
  204.  
  205. Credits:
  206.  
  207. Rob Echler and Edward Tushar - their idea, my work!
  208.  
  209. Send suggestions or complaints to the address listed in the REGISTER.DOC
  210. that came with this program!
  211.  
  212. Thanks!
  213.  
  214. Antonio Ortiz
  215.  
  216.  
  217.