home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 15
/
CD_ASCQ_15_070894.iso
/
vrac
/
echorep1.zip
/
ECHOREP.DOC
< prev
next >
Wrap
Text File
|
1994-06-15
|
12KB
|
266 lines
EchoRep v1.1 for Telegard 2.7 & TeleMail 1.51 or 1.64/Beta
Copyright 1994, Sergey Polak
DISCLAIMER
This program and other files associated with it are NOT
guaranteed to be bug free or virus free. I am not responsible for
damages of any kind, including profit losses and data losses, that
relate directly or indirectly to these programs and files.
DISTRIBUTION OF THE PROGRAM
You may NOT charge any fee for the distribution of the program
itself, although you may charge for the media on which you
distribute it. You MUST include all of the files in the archive if
you distribute the program. Feel free to share the program with
your friends and upload it to Electronic Bulletin Boards.
FILES IN THE ARCHIVE
The following files should have been included in the archive:
ECHOREP.EXE The program itself
ECHOREP.DOC The documentation (this file)
ECHOREP.CFG Sample configuration file
SKIP.LST Sample skip file listing
If any of the above files are not present, you do not have an
authorized copy of the program!
WHAT IS ECHOREP?
EchoRep is a handy dandy little utility for Telegard 2.7 and
TeleMail 1.51 or 1.64/Beta that will process the TeleMail log file
and create a report for you consisting of the following:
- number of messages imported into each message base
- number of messages exported from each message base
- names of message bases with no inbound traffic
- names of message bases with no outbound traffic
REQUIREMENTS
In order for EchoRep to run you must have:
- DOS 3.3 or above
- Telegard 2.7
- TeleMail 1.51 or 1.64/Beta
FEATURES
EchoRep can process only EchoMail bases, only NetMail bases,
only GroupMail bases or any combination of the above.
EchoRep allows you to specify which message bases not to
process either by name or by number.
EchoRep returns errorlevels to let you know how and why it
ended.
Full support for DOS's output redirection, so you can send the
output of the program to a file, your serial port or your
parallel port.
Ability to use a configuration file so that you don't have to
type all those command line parameters every time you run the
program.
HOW TO USE ECHOREP
Simply call the program in the following format:
ECHOREP [/S:path] [/L:filespec] [/X:filespec] [/N] [/G] [/E-]
[/F:mm/dd/yy] [/T:mm/dd/yy] [/P] [/M-] [/I-] [/O-] [/S]
[/R:filespec] [@cfgfile]
/S:path This is the full PATH to your STATUS.DAT It is
only required if STATUS.DAT is not in the current
directory or in your PATH. ** DO NOT INCLUDE THE
FILENAME **
/L:filespec This is the full path and/or filename of your
TeleMail log file. It is only required if the log
file is not in the current directory or in your
PATH, or you are not using the standard
TELEMAIL.LOG filename. If you specify the
directory only, be sure to include the backslash \
at the end of the directory name.
/X:filespec This is the full PATH and NAME to your skip
listing. A skip listing is a plain ASCII file
which contains filenames or numbers of message
bases that should be skipped during processing.
See below for more information.
/N This flag ENABLES processing of NetMail bases. By
default NetMail bases are not processed.
/G This flag ENABLES processing of GroupMail bases.
By default GroupMail bases are not processed.
/E- This flag DISABLES processing of EchoMail bases.
By default EchoMail bases are processed.
/F:mm/dd/yy Message traffic will be processed beginning with
this date. Any traffic that occurred before this
date will be ignored. If the date you enter is
invalid, it will be ignored. If no message traffic
was logged after the date you specify, no report
will be made.
/T:mm/dd/yy Message traffic will be processed up to and
INCLUDING this date. Any traffic that occurred
after this date will be ignored. If the date you
enter is invalid or is before the FROM date (if
any), it will be ignored.
/P This flag tells EchoRep to erase your TeleMail log
file after it is done. By default the log file
remains unchanged.
/M- This flag DISABLES generation of the main report.
The main report lists all message bases by name and
shows the number of messages imported and exported
to/from each message base.
/I- This flag DISABLES generation of the "no inbound
mail" report. This report lists the names of all
message bases that had no inbound message traffic
for the report period.
/O- This flag DISABLES generation of the "no outbound
mail" report. This report lists the names of all
message bases that had no outbound message traffic
for the report period.
/S This flag tells EchoRep to strip the Telegard color
codes from message base names before writing the
report.
/R:filespec Here you can specify the path and/or name of the
file you wish the report to be written to. By
default, the file is called ECHO.REP and is located
in the current directory. If you wish to change
that, include this option. If you want to specify
a directory only, be sure to include a backslash at
the end of the directory name (eg. C:\TEL\TFILES\).
If the file already exists it will be appended.
@cfgfile This is the full path and name to the EchoRep
configuration file.
All parameters are OPTIONAL. Case and order of the parameters are
irrelevant. All parameters must be separated by a space. No
spaces allowed inside of parameters.
NOTE: For the purposes of maintaining the format of the report,
EchoRep will strip all MCI codes (with the exception of
color codes, unless otherwise instructed) from message
base descriptions.
CONFIGURATION FILE
The configuration file is plain ASCII file with a set of
commands and values for the commands. You may use semicolons to
indicate comments in the configuration file. The following
commands can be included in the configuration file:
StatusDir The path to your STATUS.DAT
TMLogDir The path/name of your TeleMail log file.
ReportDir The path/name of the report file.
SkipFile The path and name of the skip file.
DoNetMail Enable/disable NetMail processing.
DoEchoMail Enable/disable EchoMail processing.
DoGroupMail Enable/disable GroupMail processing.
PurgeLog Enable/disable erasure of the TeleMail log file
upon program completion.
DoMain Enable/disable generation of main report.
DoNoInbound Enable/disable generation of "no inbound mail"
report.
DoNoOutbound Enable/disable generation of "no outbound mail"
report.
StripColor Enable/disable stripping of Telegard color codes
from message base filenames.
Each command must be followed by the equal sign = and a value.
The values for boolean (enable/disable) commands can be either
ON/OFF, YES/NO or TRUE/FALSE.
The only EchoRep commands that are not allowed inside a
configuration file are the date limiting commands. Those must be
included on the command line.
Command line parameters can be used to override any setting in
the configuration file.
SKIP FILE
If you want to skip certain message bases during processing,
you can create a plain ASCII file with the filenames or numbers of
the message bases that should be skipped, and include the name of
that file with the /X: switch on the EchoRep command line or in the
configuration file. If you use this feature, make sure that the
name you use in the file is the filename of that message base, not
the description. If you choose to use the message base number
rather than the filename, precede the number by the # sign.
Obviously this means that you can't specify that a message base be
skipped if its filename begins with a # sign. Case in filenames is
ignored.
WARNING: Message base numbers are dependent on the user in
Telegard. EchoRep uses ABSOLUTE message base numbers.
Consult your message base editor for the absolute number
of any message base.
ERRORLEVELS
If you are going to use EchoRep in batch files you have an added
convenience: errorlevels. The following is the summary of
errorlelevs returned by the program:
0 - Everything is just fine.
1 - Help was requested.
2 - Can't find STATUS.DAT
3 - Can't find the TeleMail log file.
4 - Can't find skip listing:
The filename you specified with the /X: switch is
incorrect.
5 - Can't find BOARDS.DAT
There is an error in your STATUS.DAT path settings.
6 - Input/Output error
An error was encountered while reading from or writing to
the disk.
7 - Nothing to do
You either specified a FROM date with the /F: switch, but
no message traffic was logged after that date, you
specified that ALL message bases are to be skipped from
the report or you disabled generation of all 3 report
types (main, no inbound and no outbound) or you disabled
processing of all 3 message base types (EchoMail, NetMail
and GroupMail).
8 - Can't find configuration file.
CONTACTING THE AUTHOR
This is *MANDATORY* You absolutely HAVE to contact me in some
way and let me know that you're using the program. Please let me
know that you are using the program. If you have any suggestions,
then do not hesitate to tell me. If you want to send me a
financial contribution, I will not refuse (who would!).
You can reach me at the following address:
Sergey Polak
212 Spring St.
Monroe, NY 10950
Or on the OFFICIAL EchoRep BBS:
Hometown's Glass Manazure 1:272/107 (914) 496-4115 300-14.4K
(v32/v42) baud, send mail to Sergey Polak #2,
or via FidoNet at 1:272/94 or 1:272/107
or via InterNet at
wp931085@pacevm.dac.pace.edu or
sergey_polak@f94.n272.z1.fidonet.org or
sergey_polak@f107.n272.z1.fidonet.org
or via BitNet at WP931085@PACEVM
I can also be found on the FidoNet Telegard support echo
(TG_SUPPORT).
I will try to keep the latest copy of this program on the Telegard
File Distribution Network.