home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
RSTQS101.ZIP
/
RESETQS.DOC
< prev
next >
Wrap
Text File
|
1993-06-04
|
7KB
|
178 lines
RESETQS.EXE v1.01 Copyright (C) 1993 Cam Castiglia
====================================================================
DESCRIPTION:
***********
RESETQS.EXE is a utility designed to lessen the frustration of OzCis
users who make use of external programs for viewing and tagging OzCis'
QuickScan files. This program, when called by a batch file, will
Reset the QuickScan "?" flags in the OzCis FORUMS.DB file in accordance
with command string specified.
The program can also be run in Interactive Mode, presenting the user
with each forum, in turn, allowing him/her to toggle QS flags to off
and then save the resultant changes to the FORUMS.DB file.
The main program functions as follows:
1) Determine the directory containing the OzCis program files.
2) a. Open HOSTS.DB, ensure that it is not an OzCis v2 file.
b. Determine which HOST is currently flagged as active.
c. Read the Forums Path field in the active HOST entry to
determine location of the active FORUMS.DB file.
3) Read the forums database into an array.
4) If operating in Command Mode, process each forum entry in
accordance with the RESETQS <command$>
If operating in Interactive Mode, scan the forums for those
which have the QS flag set and prompt the user to change or
leave as is then prompt the user to save or abandon the changes
and take appropriate action.
Note: This program was designed to function with OzCis v1.2(a) files.
There are significant differences in the file structure of the
soon to be released OzCis v2. For this reason, the program has
built-in safety features to keep it from running in a v2
environment.
INSTALLATION:
************
Please - take a moment to make a copy of your current FORUMS.DB file and
place it in a safe place, either on an external diskette or a drive -
directory which is not accessible by OzCis. It is extremely unlikely
that you will ever experience data loss or a corrupted file through the
use of this program, but you can't be too careful! <g>
Copy the decompressed file. RESETQS.EXE into the main OzCis directory.
This is the same directory which contains the HOSTS.DB file. This program
will not function if it is not in the same directory as HOSTS.DB
If you will be using the program in Interactive Mode, set it up as an
OzCis external:
Title: Reset QuickScan Flags
CmdLine: C:\OZ\RESETQS.EXE (change path as appropriate)
Use 2nd shell: N Prompt at exit: N Get Parameters: Y
USAGE:
*****
RESETQS has four operating modes, accesed through the command line:
RESETQS [forumname, forumname, forumname ....] [/Q] [/?]
HELP MODE: Entering RESETQS /? will present the basic Help screen
with instructions for program usage.
INTERACTIVE MODE: Entering RESETQS without a command$ will start the program
in Interactive Mode. After the forums array has been
prepared, you will be presented with the GO Word and
Forum Description for each forum which has it's QS flag
turned on. You are prompted to decide whether to toggle
the flag to off and then presented the next forum for
similar action. After all forums have been processed, you
will be asked whether to Save or Abandon Changes. If you
choose the Save option, the FORUMS.DB will be updated to
reflect the new flag settings. The original file will be
saved as FORUMS.SAV
COMMAND MODE: Enter RESETQS forumname, forumname, forumname ....
where 'forumname' is the 8 character (maximum) name
which OzCis uses to identify a forums files. You can
enter as many forumnames as will fit on the command
line, seperated by commas. Running the program in this
mode will present an information screen showing which
forums are being acted upon and then prompt to Save or
Abandon changes as above.
QUIET MODE: Identical to COMMAND MODE, except add the /Q switch to
the end of the command line. Causes the program to
suppress all screen output and DOES NOT PROMPT before
saving the changes. Perfect for use in batch files!
Note that the /Q switch must be at the end of the
command$.
OzCis Version 2:
***************
This program will not function with the upcoming v2. If, when v2 has
been released, I feel that there is still a need for this type of utility,
I will make the necessary update and will post the new version to
Compuserve's IBMCOM forum, Library 12.
REVISION HISTORY:
****************
Ver. 1.0 - Original beta release
Ver. 1.01 - Corrected bug in handling of "blank" Forums Path field in
HOSTS.DB record.
Corrected bug in screen display of GoWords and Forum
Descriptions.
Revised RESETQS.DOC (this file).
NOTES:
*****
I believe this program performs as described and have made every effort
to ensure that it will not cause loss of data but you use it at your own
risk. I cannot guarantee the fitness of this program for a particular
purpose nor will I be held liable for any damages arising from it's
use or misuse.
COST:
****
For as long as Steve Sneed chooses to make OzCis available free of charge
for non-commercial use, I could not be comfortable with asking for payment
for this small utility. It is free to any user who has need of it. I do,
however, retain all copyrights, as applicable, to it's design, interface
and function.
TALK TO ME:
**********
I can be reached at any time, for any reason, via CIS-MAIL, as follows:
Cam Castiglia [Compuserve 71334,2403]
and can often be found hanging around at IBMCOM Sec. 12
THANKS:
******
Thanks to Tom Donnelly and Peter Zisson for acting as beta testers (read
"guinea pigs") and for their ability to find the bugs which I had missed.
Thanks also to Steve Sneed, for his creation of OzCis, his willingness
to share it with all of us, and his open-mindedness concerning this
project.
It probably sounds corny, but thanks also to my wife, Carol, and son, David,
for putting up with my love of computers, and the long hours which I spend
at the keyboard.