home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
UTILITY
/
TEST-IT1.ARJ
/
HUMOR.ME2
next >
Wrap
Text File
|
1991-05-17
|
4KB
|
128 lines
Test It
ZIP File Tester/Scanner
A SPITFIRE Utility
Copyright (C) 1991, by Murray R. Tuckerman
Written in Turbo Pascal version 5.0, with STRINGS.TPU and
BCSHARE. For use with PKUNZIP and SCAN.
This program is issued under the PostalWare principle. You MUST
register TEST-IT by sending a postcard to:
Murray Tuckerman
The Drawing Board BBS
Post Office Box 111224
Anchorage, Alaska 99511-1224
Make sure you write TEST-IT on the postcard.
Scenic postcards are preferred as the author uses them to patch holes
in the computer room walls (ie. cheap wallpaper).
All unregistered use is strictly forbidden.
-- >> << --
The author of this program is not responsible for anything. If this
program causes hardware hiccups, causes your dog to go mad, makes your
hair fall out, or anything else, don't call the author <smiling>.
_________________________
Test-It is a zip file tester/scanner that works with PKUNZIP and
SCAN to automate the tasks of checking uploaded files for you,
then posting these files into an "OK" file directory, or a "Bad"
file directory, and updating the HeySysop.Log with any errors or
viruses found within the zipped files.
Syntax:
Test-It /B=[Path] /C=[Path] /E=[Path] /F=[Path] /O=[Path] /S=[Path] /U=[Path]
Note: Do NOT include []s.
/B= Path to directory for files with ERRORS.
/C= Path to Command.Com.
/E= Path to HeySysOp.Log.
/F= Path to directory of files to be tested.
/O= Path to directory for files with NO errors.
/S= Path to Scan.Exe.
/U= Path to Pkunzip.Exe.
How it works:
First, Test-It checks your test directory to make sure there
are files to test.
For each zipped file found:
Test-It calls out to PKUNZIP to test the zip file's integri-
ty, and the to extract the zipped files into a temporary file
directory off your upload directory. Test-It then calls SCAN
to scan the files in the temporary directory.
If the file contains errors in the zip file, or scan reports
a virus, the zipped file is copied to your ERROR directory
and the error or virus is reported to your HeySysop.Log.
Otherwise it will be copied to your OK directory.
Notes: Make sure you have enough space on your drive where your
uploads are to allow PKUNZIP to unzip the file(s) for
scanning.
Wild cards may only be used for filenames. Omitted or
incorrect paths will cause an error to be reported, and
testing function to be bypassed or program to exit.
Parameters may be in ANY order.
You may use this program in any batch file, such as in
your events or your SFINIT.BAT.
Calling Test-It without ANY command line parameters will
display a help screen.
Credits:
SPITFIRE BBS
BCSHARE - Buffalo Creek Software, Mike Woltz
STRINGS.TPU - Richard Winkle
Turbo Pascal - Borland International
PkUnZip - PkWare, Phil Katz
SCAN - McAfee Associates
_______________________________________
Enjoy!
Murray R. Tuckerman, Co-SysOp
The Drawing Board BBS - (907) 349-5412
24 hrs. daily - 2400 baud