home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / FILE / CHK4C350.ZIP / CHK4COMP.DOC next >
Encoding:
Text File  |  1991-05-24  |  5.8 KB  |  111 lines

  1. CHK4COMP.EXE  Ver. 3.30 (5-25-91) by John Land, Esq. (Patent & Copyright Law)
  2.  
  3. Shows which .EXE & .COM files have been compressed by PKLITE, LZEXE, DIET,
  4. AXE, LEXEM, TINYPROG, SHRINK, EXECUTRIX, SCRNCH, ICE, or EXEPACK, plus ID's
  5. WINDOWS .EXE files, overlay files, & misnamed .EXE & .COM files.  Output
  6. sortable by size, name, date, or time, & is redirectable.  Subdirectories
  7. can be looped through.
  8.  
  9. USAGE is:  CHK4COMP {filespec}  {/option}...   [{filespec} can take wildcards].
  10.  
  11. Listing options (can use - or / to start each option):
  12.   /A  -- All specified files (default is all .COM and .EXE files)
  13.   /C  -- Compressed files only; suboptions:
  14.          /CL = Lzexe   /CP = Pklite  /CD = Diet  /CU = execUtrix /CX = leXem
  15.          /CC = sCrnch  /CS = Shrink  /CA = Axe   /CT = Tinyprog  /CI = Ice
  16.          /CE = Exepack
  17.   /U  -- Uncompressed files only (use /Un, n = 0{=½},1,2,4 to list files > nK)
  18.   /M  -- Misnamed .COM and .EXE files only (no wildcards accepted)
  19.   /E  -- EXEPACK compression testing NOT included (speeds up testing)
  20.  
  21. Sort options:
  22.   /S  -- by file Size (default)     /D  -- by file Date
  23.   /N  -- by file Name               /T  -- by file Time
  24.  
  25. Other options:
  26.   /X  -- eXclude display of all information except totals
  27.   /L  -- Loop through subdirectories
  28.   /P  -- Pause after each 25 lines
  29.   /V  -- Verbose mode; shows file dates and times, plus the amount of
  30.          compression, as a percentage of file size, required to save one
  31.          more disk cluster (cluster size is determined from the disk
  32.          containing the listed files)
  33.   /R  -- Redirect mode; suppress most banners and file info
  34.  
  35. NOTES:   If the ▒ symbol shows in an information line for a file, then that
  36.          file is a WINDOWS .EXE file.  If the ≡ symbol shows, then that
  37.          file APPEARS to use overlays (the calculated file size is not
  38.          equal to the actual file size).  An "x" next to a PKLITE version
  39.          number means "eXtra" compression is in use.
  40.  
  41.          You can add up to 2 strings (a before file-list string and an after
  42.          file-list string) to redirected output.  Just put the strings in
  43.          single quotes.  Spaces are allowed.
  44.  
  45.          EXAMPLE:  CHK4COMP /u/r 'PKlite -o'
  46.  
  47.          This will output a list of UNcompressed files preceded by
  48.          "PKlite -o", which can be redirected to a batch file (e.g., by
  49.          adding ">temp.bat").
  50.  
  51.          With the /L option, all subdirectories under the current
  52.          subdirectory are searched, but banners are shown ONLY for those
  53.          subdirectories with files matching the initial search criteria
  54.          (e.g., compressed *.EXE files).
  55.  
  56.          Searching for EXEPACK'd files is slow, because the tag bytes are
  57.          in non-uniform locations near the END of a file.  However, the
  58.          default mode INCLUDES searching for EXEPACK'd files; use /E to
  59.          exclude them.  Note also that CHK4COMP only searches the last 64
  60.          KB of large .EXE files for the EXEPACK tag bytes.
  61.  
  62.          The ability to add a size parameter to the /U option gives you the
  63.          ability to limit display of uncompressed files to only those over
  64.          a certain cluster size.  For example, on a normal hard disk over
  65.          10MB in size, the cluster size is 2,048 bytes.  Usually there would
  66.          be no point in compressing a file that is already smaller than the
  67.          cluster size, since no space would be saved on the hard disk.  On
  68.          the other hand, the cluster size on a 360 KB floppy is 512 bytes.
  69.  
  70. (use /Un, n = 0{=½},1,2,4 to list
  71. files > nK)
  72.  
  73. VERSION
  74. NOTES:
  75.        2.00  -- added checking for PKlite compression of .EXE files.
  76.        2.10  -- added checking for compression of .COM files by PKLITE,
  77.                 fixed output for banner suppression (redirection /r)
  78.                 switch, added option to search ONLY for LZEXE, PKlite, or
  79.                 TINYPROG compressed files.
  80.        2.21  -- made checking for misnamed .EXE and .COM files automatic;
  81.                 added checking for compression by DIET 1.00 and SEA-AXE;
  82.                 distinguishes PKlite v. 1.00 from v. 1.03.
  83.        2.30  -- Corrected error in detecting different versions of PKlite;
  84.                 added detection for LEXEM; conformed code to slight
  85.                 differences required by Turbo Pascal 6.0.
  86.        2.50  -- Added detection for SHRINK; added page-pause option; added
  87.                 ability to create text before and after redirected output.
  88.        2.60  -- Added sorting by date/time; added Totals only mode; revised
  89.                 display of totals; added verbose mode to show file date and
  90.                 time.
  91.        2.70  -- Added detection for EXEPACK.
  92.        2.80  -- Added detection for EXECUTRIX; revised totals format.
  93.        2.90  -- Added detection for WINDOWS .EXE files.
  94.        2.95  -- Added detection for apparent overlay files.
  95.        2.97  -- Added totals for no. of WINDOWS and overlay files.
  96.        2.99  -- Added sorting by date OR time.
  97.        3.00  -- Added detection for SCRNCH; fixed minor bug in displaying
  98.                 very small ( < 100 bytes) files after running CHK4COMP
  99.                 twice in a row.
  100.        3.05  -- Added detection for ICE.
  101.        3.10  -- Corrected bug that wouldn't let CHK4COMP find any files
  102.                 when checking a directory other than the current directory;
  103.                 added detection for DIET 1.02; added ability to limit
  104.                 display of uncompressed files to only those over a certain
  105.                 cluster size.
  106.        3.20  -- Added calculation of amount of percentage of compression
  107.                 required to save one more disk cluster (part of /V display).
  108.        3.50  -- Changed algorithm for determining version number of PKLITE
  109.                 files; now also notes PKLITE files with extra compression.
  110.  
  111.