home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
UT
/
UT098.ZIP
/
PCBCNT6.ZIP
/
PCBCOUNT.DOC
next >
Wrap
Text File
|
1990-03-27
|
4KB
|
103 lines
================== P C B C o u n t ==================
v1.06, 03/27/90
copr. 1989, 1990 Dave Williams
PCBCount is a little utility for PCBoard sysops. It will scan through a
file list generated by PCBFiler and count the number of files. PCBCount will
ignore blank lines, extended file descriptions, graphics, and miscellaneous
junk. The program will report the cumulative size of all files in the
designated source file in K-bytes and megabytes. The megabyte size is
truncated to the nearest round number. If you have directories with less than
|a megabyte of files, PCBCount will report "0 megabytes".
PCBCount uses a variety of tests to see if a particular line is a real file
|description or "noise." It would be possible to build a special line to
|"trick" PCBCount, but it'd be very unlikely to see such a line in a file list.
Sample screen:
PCBCount v1.06 - FAST! 'pcbfiles.lst' counter - copr. Dave Williams 1990
|Reading file "..\asm"... working... [│] 1400
Counted 1479 files in 30772 K or 30 Mb in 2.96 sec
| Append this information to "..\asm" Y/N?
| Each quarter-turn of the "twiddle character" indicates 25 files processed.
This lets you know that PCBCount is actually doing something and not locked
up somehow. Those 1.5 megabyte PCBFILES.LST files take a while to process,
|even with PCBCount. The number to the right is a running counter of files
|processed, mod 100.
| When PCBCount is finished, it will ask if you want the file and size totals
|added to your file list. If you answer "N" nothing will be done. If you
|answer "Y" PCBCount will append a few lines like this:
|WUMBO.ZIP 4857 01-17-88 "Hunt the Wumpus" - with an M60! (BASICA)
|ZAXXON.ZIP 37511 09-05-89 clone of "Zaxxon" arcade game
|
|******************************************************************************
| PCBCount v1.06 - FAST! 'pcbfiles.lst' counter - copr. Dave Williams 1990
|
| Counted 17 files in 418 K or 0 Mb
|******************************************************************************
| Er..., that assumes "WUMBO" and "ZAXXON" were at the end of your file list,
|of course <grin>.
PCBCount will return a DOS errorlevel of 0 if successful, 254 if it cannot
find or open the filename given on the command line, or 255 if no filename
was given on the command line.
History:
12/08/89 v1.00 original release
12/09/89 v1.01 added error handler in case input filename was invalid
02/09/90 v1.02 added file size counter
02/11/90 v1.03 changed to buffered file read, various speed optimizations,
| changed to Turbo Pascal 5.5
02/12/90 v1.04 added twiddle character and elapsed time counter
03/02/90 v1.05 added mod 100 file counter, append to filelist option
03/27/90 v1.06 tweaked for a bit more speed, added ASP information
PCBCount is a shareware product. If you find this program to be useful,
please remit US $5 to:
Dave Williams
PO Box 181,
Jacksonville AR 72076
You will get a diskette with the latest version. If you so indicate, up to
three 75 character lines (BBS info, whatever) will be compiled into your
copy so they can be appended to the end of your filelist.
┌─────────┐
┌─────┴───┐ │ (tm)
──│ │o │──────────────────
│ ┌─────┴╨──┐ │ Association of
│ │ │─┘ Shareware
└───│ o │ Professionals
──────│ ║ │────────────────────
└────╨────┘ MEMBER
This program is produced by a member of the Association of Shareware
Professionals (ASP). ASP wants to make sure that the shareware principle
works for you. If you are unable to resolve a shareware-related problem with
an ASP member by contacting the member directly, ASP may be able to help. The
ASP Ombudsman can help you resolve a dispute or problem with an ASP member,
but does not provide technical support for members' products. Please write to
the ASP Ombudsman at P.O. Box 5786, Bellevue, WA 98006 or send a Compuserve
message via easyplex to ASP Ombudsman 70007,3536"