home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / LA / LA023.ZIP / PCBCNT6.ZIP / PCBCOUNT.DOC next >
Text File  |  1990-03-27  |  4KB  |  103 lines

  1.  
  2.              ================== P C B C o u n t ==================
  3.  
  4.                                v1.06,  03/27/90
  5.  
  6.                         copr. 1989, 1990  Dave Williams
  7.  
  8.  
  9.   PCBCount is a little utility for PCBoard sysops. It will scan through a
  10.  file list generated by PCBFiler and count the number of files. PCBCount will
  11.  ignore blank lines, extended file descriptions, graphics, and miscellaneous
  12.  junk. The program will report the cumulative size of all files in the 
  13.  designated source file in K-bytes and megabytes. The megabyte size is 
  14.  truncated to the nearest round number. If you have directories with less than
  15. |a megabyte of files, PCBCount will report "0 megabytes". 
  16.  
  17.   PCBCount uses a variety of tests to see if a particular line is a real file 
  18. |description or "noise." It would be possible to build a special line to 
  19. |"trick" PCBCount, but it'd be very unlikely to see such a line in a file list.
  20.  
  21.   Sample screen:
  22.  
  23.  PCBCount v1.06 - FAST! 'pcbfiles.lst' counter - copr. Dave Williams 1990
  24.  
  25. |Reading file "..\asm"...  working...  [│]  1400
  26.  
  27.   Counted 1479 files in 30772 K or 30 Mb in 2.96 sec
  28.  
  29. | Append this information to "..\asm" Y/N?
  30.  
  31.  
  32. | Each quarter-turn of the "twiddle character" indicates 25 files processed.
  33.  This lets you know that PCBCount is actually doing something and not locked
  34.  up somehow. Those 1.5 megabyte PCBFILES.LST files take a while to process,
  35. |even with PCBCount. The number to the right is a running counter of files
  36. |processed, mod 100.
  37.  
  38. | When PCBCount is finished, it will ask if you want the file and size totals
  39. |added to your file list. If you answer "N" nothing will be done. If you
  40. |answer "Y" PCBCount will append a few lines like this: 
  41.  
  42. |WUMBO.ZIP        4857  01-17-88  "Hunt the Wumpus" - with an M60! (BASICA)
  43. |ZAXXON.ZIP      37511  09-05-89  clone of "Zaxxon" arcade game
  44. |
  45. |******************************************************************************
  46. |   PCBCount v1.06 - FAST! 'pcbfiles.lst' counter - copr. Dave Williams 1990
  47. |
  48. |                     Counted 17 files in 418 K or 0 Mb
  49. |******************************************************************************
  50.  
  51. | Er..., that assumes "WUMBO" and "ZAXXON" were at the end of your file list,
  52. |of course <grin>.
  53.  
  54.  
  55.   PCBCount will return a DOS errorlevel of 0 if successful, 254 if it cannot
  56.  find or open the filename given on the command line, or 255 if no filename
  57.  was given on the command line.
  58.  
  59.  
  60.  
  61.  History:
  62.  
  63.  12/08/89  v1.00  original release
  64.  12/09/89  v1.01  added error handler in case input filename was invalid
  65.  02/09/90  v1.02  added file size counter
  66.  02/11/90  v1.03  changed to buffered file read, various speed optimizations,
  67.                 | changed to Turbo Pascal 5.5
  68.  02/12/90  v1.04  added twiddle character and elapsed time counter
  69.  03/02/90  v1.05  added mod 100 file counter, append to filelist option
  70.  03/27/90  v1.06  tweaked for a bit more speed, added ASP information
  71.  
  72.  
  73.   PCBCount is a shareware product. If you find this program to be useful, 
  74.  please remit US $5 to:
  75.  
  76.                                  Dave Williams
  77.                                   PO Box 181,
  78.                              Jacksonville AR 72076
  79.  
  80.   You will get a diskette with the latest version. If you so indicate, up to 
  81.  three 75 character lines (BBS info, whatever) will be compiled into your
  82.  copy so they can be appended to the end of your filelist.
  83.  
  84.  
  85.               ┌─────────┐
  86.         ┌─────┴───┐     │              (tm)
  87.       ──│         │o    │──────────────────
  88.         │   ┌─────┴╨──┐ │  Association of
  89.         │   │         │─┘  Shareware
  90.         └───│    o    │    Professionals
  91.       ──────│    ║    │────────────────────
  92.             └────╨────┘    MEMBER
  93.  
  94.   This program is produced by a member of the Association of Shareware
  95.  Professionals (ASP).  ASP wants to make sure that the shareware principle
  96.  works for you. If you are unable to resolve a shareware-related problem with
  97.  an ASP member by contacting the member directly, ASP may be able to help. The
  98.  ASP Ombudsman can help you resolve a dispute or problem with an ASP member,
  99.  but does not provide technical support for members' products. Please write to
  100.  the ASP Ombudsman at P.O. Box 5786, Bellevue, WA 98006 or send a Compuserve
  101.  message via easyplex to ASP Ombudsman 70007,3536"
  102.  
  103.