home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
bbs
/
chekdate.zip
/
CHEKDATE.DOC
< prev
next >
Wrap
Text File
|
1994-01-24
|
7KB
|
217 lines
________
____|__ |
--| | |-------------------
| ----|-- | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___|
********** CHECKDATE - File and/or FILES.BBS Manager **************
Written by Antonio . Ortiz
Concept by Rob Echler and Edward Tushar
C o p y r i g h t (c) 1 9 9 4
CheckDate, Copyright (c) 1994 by Antonio Ortiz, is being distributed
as Shareware. Under this concept you may use the SHAREWARE (unregistered)
version for a reasonable period of time for evaluation after which you
must either register your copy or discontinue usage.
===============================================================================
Disclaimer:
This program and other files associated with it are not
guaranteed to be bug free or virus free. We are not
responsible for any damages of any kind, including
profit losses and data loss, that relate directly or
indirectly to this program and files. You may distribute
this program, as long as it is in unmodified with all the
files originally included.
===============================================================================
What is Checkdate?
Simply put, Checkdate will read user defined directories, check the file
date to your system date, and delete those files that are so many days old.
It will also remove that filename and description from your FILES.BBS
listing. If a file is not in the specified directory, it will simply remove
the listing from the FILES.BBS.
It will also add files that are found in the directory but not listed in
the FILES.BBS file and add them for you.
A switch has been added to allow the users of Maximus BBS software to read
the directories and number of days to delete directly from the "filearea.ctl"
file.
===============================================================================
Why was it created?
Two Sysops, Rob Echler and Edward Tushar, sat down and said they needed
a program that could look at a certain directory and delete files that were
so many days old. This small beginning led to some minor improvements such
as a configuration file to define the directory list, a log file so you know
what was deleted and any other status messages, the ability to set the
number of days back to delete files, and the ability to remove the file and
description from the FILES.BBS to keep it up to date!
===============================================================================
Requirements:
* A computer
* Files that need to be deleted
Simple! You don't even need to have a BBS to use this program or a FILES.BBS!
===============================================================================
Files Needed:
* CHEKDATE.EXE - The executable program
* CHEKDATE.CFG - The configuration file
==============================================================================
======================NON-MAXIMUS BBS SETUP===================================
The following configuration is for people that don't use MAXIMUS BBS software
in the field "MAXI!" you must place a "N", then list the directories in the
configuration file. This will also work on Maximus BBS software.
NAME!(USE ALL CAPS WITH NO BLANK SPACES AT THE END)
REGS!(USE ALL CAPS WITH NO BLANK SPACES AT THE END)
LOGG!B:\ZBBS\LOG\CHEKDATE.LOG
FILE!FILES.BBS
MAXI!N
DAYS DIRECTORIES...
10 B:\ZBBS\BBS1
15 B:\ZBBS\BBS1\BBS11
20 B:\ZBBS\BBS1\BBS12
25 B:\ZBBS\BBS2
30 B:\ZBBS\BBS2\BBS21
35 B:\ZBBS\BBS3
40 B:\ZBBS\BBS3\BBS31
45 B:\ZBBS\BBS3\BBS32
50 B:\ZBBS\BBS3\BBS33
Note there are NO spaces after the exclamation point (!) and the information
following it!
===========================MAXIMUS BBS SETUP==================================
The following setup is for users of MAXIMUS BBS software.
NAME!JOE SYSOP (USE ALL CAPS)
REG!Your registration number
LOGG!The complete path and name of your log file
FILE!FILES.BBS <-- Do not change!
MAXI!C:\MAXIMUS\FILEAREA.CTL (PATH AND NAME OF YOUR FILEAREA.CTL FILE)
DAYS DIRECTORY
You will need to make a entry in each area of your filearea.ctl file
to tell CHEKDATE how many days old you wish the files in that directory
to be. Here is an example of a filearea.ctl entry.
Area 1
FileAccess Disgrace
FileInfo Family Type Games
Download c:\max\file\games
Upload c:\max\file\uncheck
%Days 45 <- this is the number of days you want.
End Area
The number of days old to delete the file.
The default is 30 and can only be changed in the registered version.
Note there are NO spaces after the exclamation point (!) and the information
following it!
Simple! Now you are ready to run!
===============================================================================
CHEKDATE can be ran with no command line parameters.
SWITCHES:
/N OR /n
This will cause CHEKDATE to run through the directories without deleting any files. Then you can check the created
log file to see what files are going to be deleted, what problems are found
in your FILES.BBS, and any files that are listed in your FILES.BBS but were
not found in the directory.
/Q OR /q
This will cause CHEKDATE to run in quiet mode, nothing will be seen on
your screen.
/P or /p
This will send all output to your printer.
/A or /a
This will allow you to add files to the files.bbs that are in the directory
but not listed in the files.bbs file, it will append a description as
(NO DESCRIPTION GIVEN). Any files entered with this switch will have the file
date reset to the current date, and will not be deleted until the number of days
listed in the filearea.ctl or chekdate.cfg.
A sample batch file might be:
CLS
CD\BBS
CHEKDATE
RUNFB (To rebuild the File Database after changes are made to the FILES.BBS
CD\MAILER
MAILER
===============================================================================
Now, about registering!
Simple, the registration cost for this program is $10. The $10 will allow you
to change the number of days you wish to delete files. It will also give you
a nice feeling inside.
===============================================================================
Future improvements:
+ Ability to read several different type BBS file listing formats
Really not much left to improve upon. Suggestions are welcome!
===============================================================================
Credits:
Rob Echler and Edward Tushar - their idea, my work!
Send suggestions or complaints to the address listed in the REGISTER.DOC
that came with this program!
Thanks!
Antonio Ortiz