home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Beijing Paradise BBS Backup
/
PARADISE.ISO
/
software
/
BBSDOORW
/
RGWEEDER.ZIP
/
RGWEEDER.DOC
< prev
next >
Wrap
Text File
|
1993-01-12
|
7KB
|
152 lines
RGWeeder v3.0
Copyright (c) 1992-1993, Donovan C. Young
RGWeeder is a utility used to remove unwanted users from your
RENEGADE BBS user files. Given the proper parameters, it will scan your
entire USERS.DAT and completely remove any users that match your
qualifications. This includes deleting all email messages to and from
said user as well as removing any messages the system has waiting for
them (ie. SHORTMSG.DAT).
To delete a user from the user file, RGWeeder will simply mark that
user as deleted (and NOT purge any of thier information - however, as
far as RENEGADE is concerned, the user no longer exists and will be
overwritten by the next new user), it is done this way purposely. It
may happen that you delete a user in error... if you were using a
program the completely purges the user (overwriting thier information
with garbage) you would have little choice but to recover them from a
backup copy of your user file (if you HAVE a backup!). Using this
method, you simply need to edit thier user NUMBER (RENEGADE won't find
thier name/handle anymore) and UNdelete them.
RGWeeder will NOT delete ANY user with thier protection from
deletion flag set (AR flag 4), nor will it EVER delete user number 1 (it
doesn't even LOOK at it, so specifing an acs string like 'u1' won't have
any effect). I feel that if you want user number 1 deleted, you can do
that manually. :)
Now, before you start, I would HIGHLY recommend that you make
backups (as you should with ANY program that modifies your RENEGADE
system files!) - you never know when you might make a mistake, and end
up deleting EVERYONE! Now that that is said, and out of the way, let's
start!
Syntax:
RGWEEDER < days | acs > [ /V /A /L=<filename> /Y /D<#> ]
RGWeeder has several command line parameters (or options, if you
will) that dictates how it will perform. The first, and most important
of which, you MUST supply as RGWeeder will not run without it! You must
specify either a number value (ie. 30, 45, etc) -OR- any VALID RENEGADE
ACS string (NOTE - if you don't specify a number, RGWeeder assumes the
parameter is an ACS string, type carefully!).
<Required Parameters>
<days>: The number is the number of days since thier LAST LOGON
(ex. 30 would delete all users that haven't called for
AT LEAST 30 days).
-OR-
<acs>: This is any valid RENEGADE acs string (ie. fD, !s20,
!s20fD!u345, etc). Any users that match this acs string
will be deleted.
[Optional Parameters]
/V
This sets VERBOSE mode ON. Normally, RGWeeder operates in a
"stealth" mode where it will only display users that have been
deleted, using this option, it will display EACH user as it is
processed and tell you thier status (OK, Already Deleted, or
DELETED).
/A
Turns ON confirmation. RGWeeder normally does its work based
solely on either the <days> or <acs> parameters, and deletes
users that match. With this option, RGWeeder will STOP before
it deletes a user and wait for you to answer with either 'Y',
'N', 'A', or 'Q'. Y means 'YES, Delete this user', N means
'NO do NOT delete this user', A means 'Allways delete users,
and don't ask anymore', and Q means 'Quit scanning and exit'.
/L=<filename>
Normally RGWeeder will log all its activity to RENEGADE's
SYSOP.LOG, however, using this option and supplying a filename
(NO PATH!), RGWeeder will instead use that name as the log
file (it will place this file in your current RENEGADE LOGS
directory).
/O RGWeeder has a built in feature that checks the last time it
was ran with the current system date. Since its posible to
have a problem with the system date being incorrect, this is
done to insure that if you are using the <days> parameter,
RGWeeder doesn't falsely report ALL your users as be INACTIVE!
(most computers reset thier system clock to 12:00am 1-1-80
after a failure). Normally, RGWeeder will stop and ask you to
hit either yes or no to continue, but with this option,
RGWeeder will simply continue as if the date check never
failed. Use this option with care!
/D<#>
As with the option above, this is used with the internal date
checking feature to tell RGWeeder how many days between runs
it should consider as an ERROR. By default, this value is 30
days. Specifing a number (in place of the '<#>') tells
RGWeeder to use this number instead (ie. /D5 = report an error
if it's been more than five days since RGWeeder was last run).
Internal Date Checking:
RGWeeder has a built in feature that checks the current system date
against the date it was last run (it keeps this information in a file
called RGWEEDER.DAT in your DATA dir). If the number of days since it's
last run is greater than 30 (or the number specified with the /D
option), it will bring up a message telling you this and asking you if
you wish to continue. If you get this message, please be SURE the date
is correct before pressing 'Y'. If you are unsure for ANY reason, hit
'N'. NOTE - the first time you run RGWeeder, it will give you this
message due to the fact that it couldn't find the data file holding the
last run date - this is normal and for your own protection, just answer
'Y' if you are sure the system date is correct.
Note of ACS strings: RGWeeder supports all the current ACS string
commands with the exception of a few. It won't check conferences, nor
will it check baud rate (among a couple of other minor ones that I
really don't see anyone using anyway). If you run accross an ACS string
that you wish to use and isn't supported, just drop me a note at the
address listed below, or via my BBS (see below).
Please report any suggestions, bugs, comments or gripes to me either via
a note in the mail (USnail), netmail @FIDO 1:133/809 or:
Cyberdyne Systems BBS: 1 (404) 668-9804
RGWeeder is being released under the SHAREWARE concept, ie. you
may use RGWeeder freely for a trail period (not to exceed 30
days), after which time you must either register your copy by
mailing the REGISTER.TXT form along with a check or money order
for $10.00, or discontinuing its use.
Mail your registration to:
Cyberdyne Systems
6900 Roswell Road H-2
Atlanta, GA 30328
Make your check or money order payable to Donovan C. Young.
Registration of this utility will make you elilible for
discounts on future Cyberdyne Systems / Renegade Utility
releases.