home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / COMPRESS / EXZIP18.ZIP / EXZIP.DOC next >
Encoding:
Text File  |  1989-02-23  |  20.3 KB  |  595 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.                                    <=  ExZip  =>
  13.  
  14.                   Part of the EXpert series programs available at
  15.  
  16.                        The Executive Network Multi-Node BBS
  17.  
  18.                        Registration number:  (914) 667-4567
  19.                        Public access      :  (914) 667-4684
  20.                        Subscriber access  :  (914) 667-4759
  21.  
  22.             --------------------------------------------------------------
  23.  
  24.  
  25.                            Copyright 1988 - Andy Keeves
  26.  
  27.  
  28.  
  29.  
  30.                OK,  just  what  the  devil  is  ExZip you ask.  ExZip is a
  31.           rather simple program to help with the re-compressing  of files.
  32.           It was  born primarily  to answer  the need  of a  BBS SysOp who
  33.           receives a fair number of files, some of which may be damaged or
  34.           ARCed with an older and less efficient ARChive program, or ZIPed
  35.           with compression methods other than the ones I wish to use.
  36.  
  37.                ExZip has the ability to pick  out any  files from  a given
  38.           subdirectory that are dated with today's or yesterday's date and
  39.           reZIP them all in one pass using PKZIP.  Simple, no?  This makes
  40.           it an  ideal program  for unattended, overnight processing.  All
  41.           you need is a simple configuration  file to  tell it  where your
  42.           files are.   There  are a  few other variables you can use, this
  43.           way nearly anyone can use it effectively, not only Sysops.
  44.  
  45.                ExZip is a successor to ExArc and it introduces a number of
  46.           new, enhanced  features, including the automatic conversion from
  47.           .ARC to .ZIP formats.
  48.  
  49.                ExZip is a FREE program.   That is  you may  freely use it,
  50.           give it  away, upload  it to other bulletin boards.  You may NOT
  51.           change it, or ask money for  it or  claim it  is yours.   If you
  52.           like ExZip  and is  of help  to you,  upload a few files to your
  53.           favorite bulletin  board.   If you  absolutely must  pay for it,
  54.           send  a  few  $$  to  your  favorite BBS Sysop - believe me, all
  55.           Sysops can use it, since running a board  is NOT  cheap!  Should
  56.           you find  a bug  in ExZip,  you may drop me a line via my BBS or
  57.           via the InterLink network (several topics).
  58.  
  59.  
  60.  
  61.  
  62.  
  63.           ExZip v1.8 [02/23/89] - File Re-compressor program       Page 1.
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.                             How to set-up and use ExZip
  77.                             ---------------------------
  78.  
  79.  
  80.                The configuration file MUST be called EXZIP.CFG and it MUST
  81.           be located  in your default directory when ExZip is ran.  If you
  82.           have used ExArc in the past, notice that  the configuration file
  83.           MUST now  BE CALLED  EXZIP.CFG!!   MAKE SURE  YOU READ ON, SINCE
  84.           THERE ARE NEW OPTIONS HERE!   It is a standard ASCII  text file,
  85.           so you  may use most any editor to create it, including EDLIN or
  86.           "COPY CON".   The  only required  entry in  this file  is a path
  87.           where  the   files  to  re-ZIP  are  to  be  found.    The  path
  88.           specification, as well  as  the  few  other  optional  specs are
  89.           entered  in  the  format  X=<options>,  where  X  is  the letter
  90.           indicating the type of specification  that  follows.    The path
  91.           specification is  indicated by  the letter  P.   By the way, the
  92.           configuration file is NOT case sensitive, so do  not worry about
  93.           it.  Here's what it might look like:
  94.  
  95.           P=C:\NEWFILES
  96.  
  97.           OK, that wasn't so bad, was it?  With that line, ExZip would re-
  98.           ZIP all files on C:\NEWFILES that have a .ZIP extension and have
  99.           yesterday's or  today's date!  Oh, nearly forgot to mention that
  100.           ExZip can handle more then one directory if you so desire.  This
  101.           is accomplished  by entering  more then one P=<path spec> lines,
  102.           like this:
  103.  
  104.           P=C:\NEWFILES
  105.           P=C:\MYDIR
  106.           P=C:\BASIC\PROGS
  107.  
  108.  
  109.           More on path specifications.
  110.           ----------------------------
  111.  
  112.           FORMAT:   P=<drive\path>=<drive\path\DIRnn>
  113.  
  114.                The path  specifications lines  must always  begin with the
  115.           letter P.   Two options may be specified on this line, all parts
  116.           separated by = (equal sign).  Part 1, as shown above is the path
  117.           to  the  files,  including  drive  letter.  Should NOT contain a
  118.           trailing backslash, though ExZip will correct  it for  you.  The
  119.           second option  is a  pointer to  the corresponding PCBoard DIRnn
  120.           file, including drive letter and path.  This  should NOT  be the
  121.           ANSI version  under any  circumstances!!!  If this is specified,
  122.           ExZip will perform the following functions for you as well:
  123.  
  124.                -    Set the ZIP file date to that found in the DIRnn file;
  125.                -    Adjust the  DIRnn  file  entry  for  ZIP  extension if
  126.                     needed;
  127.                -    Adjust the file size in the DIRnn to the new ZIP;
  128.  
  129.           ExZip v1.8 [02/23/89] - File Re-compressor program       Page 2.
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.                I know that no program can please everyone, but I needed to
  144.           put a ceiling on this somewhere, so the most path specifications
  145.           you can  enter into  a .CFG file is limited to 50.  Actually you
  146.           could enter as many as you want, but ExZip will  ignore anything
  147.           past 50.  
  148.  
  149.  
  150.           ARC options.
  151.           ------------
  152.  
  153.           FORMAT :  A=<Option>
  154.           DEFAULT:  NO
  155.  
  156.                Default here  is to  scan only for ZIP files.  If option is
  157.           "Y" for  yes,  ExZip  will  also  scan  for  .ARC  files  in the
  158.           specified path and convert them .ZIP in the same pass.  
  159.  
  160.                You may  also set  this parameter  to "O" (Only ARCs) which
  161.           will bypass the processing of any ZIP files.  This  can be handy
  162.           if  processing  a  directory  which  has  already been partially
  163.           completed.
  164.  
  165.  
  166.           >>   Note  that  both,  ZIP  to  ZIP  and  ARC   to  ZIP  format
  167.                conversions  check  for  imbedded  compressed  files!    If
  168.                converting from ARC ExZip  will  look  for  additional .ARC
  169.                files  contained  in  the  archive  and  they  will also be
  170.                converted to ZIP.   Similarly, ZIPs will  be looked  for in
  171.                ZIP files and recompressed.
  172.  
  173.  
  174.           Activity logs.
  175.           --------------
  176.  
  177.           FORMAT :  L=<drive\path\filename>
  178.           DEFAULT:  EXZIP.LOG
  179.  
  180.                ExZip  activity  will  be  recorded,  along with any errors
  181.           encountered, in the log file.  This is  a cumulative  record and
  182.           the file should be occasionally deleted to save space.
  183.  
  184.  
  185.           Program names.
  186.           --------------
  187.  
  188.           FORMAT :  Z=<program name>
  189.           DEFAULT:  PKZIP
  190.  
  191.                Defines the PKZIP program name, if other than original.
  192.  
  193.  
  194.  
  195.           ExZip v1.8 [02/23/89] - File Re-compressor program       Page 3.
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.           FORMAT :  U=<program name>
  209.           DEFAULT:  PKUNZIP
  210.  
  211.                Defines the PKUNZIP program name, if other than original.
  212.  
  213.  
  214.           FORMAT :  X=<program name>
  215.           DEFAULT:  PKXARC
  216.  
  217.                Defines the PKXARC program name, if other than original.
  218.  
  219.  
  220.  
  221.           Command options.
  222.           ----------------
  223.  
  224.           FORMAT :  O=<options>
  225.           DEFAULT:  -A -EB4 -O
  226.  
  227.                Allows you  to specify  your own  PKZIP options overwriting
  228.                all defaults shown above.
  229.  
  230.  
  231.           ANSI options.
  232.           -------------
  233.  
  234.           FORMAT :  C=<OFF>
  235.           DEFAULT:  ON
  236.  
  237.                Turns off ANSI codes if ANSI.SYS is not loaded.
  238.  
  239.  
  240.           ZIP file comments.
  241.           ------------------
  242.  
  243.           FORMAT :  I=<drive\path\filename>
  244.           DEFAULT:  NONE
  245.  
  246.                If specified, the contents  of the  indicated file  will be
  247.           placed in the new ZIP file as a comment.
  248.  
  249.  
  250.  
  251.  
  252.                                   Unwanted files!
  253.                                   ---------------
  254.  
  255.                ExZip  allows  you  to  specify  a  list of unwanted files.
  256.           These would be files like COMMAND.COM,  AUTOEXEC.BAT, CONFIG.SYS
  257.           and whatever  other names  you wish  to exclude from compression
  258.           whenever found in a file being  ZIPed.    To  use  this feature,
  259.           simply create  a file called EXZIP.EXC on the same drive\path as
  260.  
  261.           ExZip v1.8 [02/23/89] - File Re-compressor program       Page 4.
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.           your EXZIP.CFG file.   This file  can be  created and maintained
  275.           with  any  text  editor.    Enter  each  unwanted  filename on a
  276.           separate line, without a  drive\path  designation.    Up  to 100
  277.           names may be specified.
  278.  
  279.  
  280.  
  281.                                 Directory Handling
  282.                                 ------------------
  283.  
  284.                ExZip observes  network file sharing on multi-node systems.
  285.           As a result, when using the DIRnn update  feature, it  creates a
  286.           temoprary work  file, which  is copied  to the actual DIRnn file
  287.           when all completed.  Should another user be  on-line reading the
  288.           directory, ExZip  will go  into a wait loop, retrying the update
  289.           every 10 seconds or so until it succeeds.  If running unattended
  290.           during your  event, you  should assure  that no other program is
  291.           locking the directories permanently.  ExZip  will wait  for ever
  292.           if need  be.  Should a problem occur, the copy may be skipped by
  293.           pressing ESC.
  294.  
  295.                ExZip does NOT update your ANSI  directories!   After ExZip
  296.           is finished  you can  accomplish that by simply running PCBFiler
  297.           during your event via the command line:
  298.  
  299.                PCBFILER /COLORIZE;SORT
  300.  
  301.           which will sort and colorize all your directories.
  302.  
  303.  
  304.  
  305.                                Command line switches
  306.                                ---------------------
  307.  
  308.                There are only two command line options available in ExZip.
  309.           Either or both are specified with a leading / (slash).
  310.  
  311.                /ALL      When specified, this option tells ExZip to ignore
  312.                          dates and  process  ALL  files  in  all specified
  313.                          paths.  Ideal for conversions.
  314.  
  315.                /EVENT    When  specified,  it  tells ExZip to suppress all
  316.                          sound effects.
  317.  
  318.  
  319.  
  320.                                   Known Problems!
  321.                                   ---------------
  322.  
  323.                At the  time of  this writing  there are  known problems in
  324.           PKZIP, which  I imagine  will be  fixed in time.  Some have been
  325.  
  326.  
  327.           ExZip v1.8 [02/23/89] - File Re-compressor program       Page 5.
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.           addressed by ExZip, others simply cannot  be, so  you should use
  341.           caution!
  342.  
  343.                1)   PKZIP   seems   to   create   larger  files  if  ASCII
  344.                     compression is turned on.  This is the -ea# parameter,
  345.                     omitted by ExZip.  I recommend no -ea# at all!
  346.  
  347.                2)   PKZIP does not observe the -o parameter as documented.
  348.                     ExZip gets around this problem IF you also point it to
  349.                     your corresponding DIRnn file.
  350.  
  351.                3)   PKUNZIP seems  to fail  to display or extract ZIP file
  352.                     members under some circumstances.   This  has not been
  353.                     identified as  to the  exact reason or way it happens,
  354.                     but it does happen.  Since  no error  code is returned
  355.                     by PKZIP,  ExZip has  no way  to find out that nothing
  356.                     was extracted, and you CAN lose a file this way!  This
  357.                     is a problem that must be resolved on the PK side. 
  358.  
  359.                4)   A problem  has been  reported where  PKZIP will create
  360.                     and continue to create  a ZIP  file.   I have  no idea
  361.                     what the  circumstances might  be as I have never seen
  362.                     this one myself, however, it can and will  run you out
  363.                     of disk space if/when it happens!
  364.  
  365.                5)   We found a problem with PKZIP inserting the drive\path
  366.                     designation of the original file into  the ZIP.   This
  367.                     does not  seem to  be the case when creating a new ZIP
  368.                     file, but rather if you replace  a member  within one,
  369.                     possibly repeatedly, with the -A or -U option.  We are
  370.                     not certain  at  this  time  which  option  causes the
  371.                     situation.
  372.  
  373.  
  374.  
  375.                This really  is it.   Just  remember that PKZIP and PKUNZIP
  376.           (and possible PKUNPAK) must be available when doing this, in the
  377.           current directory  or in a search path.   Also, don't run out of
  378.           space!  A good rule to keep in mind is that you should have free
  379.           space equal  to the size of your largest ARChive times 2 (at the
  380.           least).   Although  ExZip may  look a  bit strange  running on a
  381.           monochrome monitor (was designed for CGA), it will run flawless.
  382.  
  383.  
  384.  
  385.                              Suggestions and warnings!
  386.                              -------------------------
  387.  
  388.  
  389.                WARNING!  DO NOT RUN ExZip in a DDOS bottom partition!!  It
  390.                          will hang, since it uses direct screen writes !!!
  391.  
  392.  
  393.           ExZip v1.8 [02/23/89] - File Re-compressor program       Page 6.
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.                WARNING!  I do not suggest running ExZip with DDOS up or in
  407.                          small memory machines IF you will be encountering
  408.                          ARCs within ARCs or ZIPs within ZIPs!  ExZip uses
  409.                          a DOS shell to do the  work and  yet a  second if
  410.                          ARCs or ZIPs are located in the file.
  411.  
  412.  
  413.  
  414.  
  415.  
  416.                And ZIPping right along .... keep dialing!
  417.            
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.           ExZip v1.8 [02/23/89] - File Re-compressor program       Page 7.
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.           Changes in ExZip.
  474.           -----------------
  475.  
  476.                In all  honesty I  do not  anticipate many  changes to this
  477.           program, so there is no separate what's new file.  I will simply
  478.           pickup from today's changes, and future ones, if any.
  479.  
  480.           v 1.4     Oct 17, 1988        New feature added.
  481.  
  482.                     -    There  is  a  new  .CFG parameter you can now use
  483.                          with ExArc.  It  facilitates the  addition of tag
  484.                          lines  that  PKWare  allows.    You  will need to
  485.                          create file, containing the  single line  of your
  486.                          desired  tag  line.    Once you have this, simply
  487.                          tell ExArc where it  is and  it will  do the rest
  488.                          for    you.        The   format   for   this   is
  489.                          "I=<path\filespec>" where "I" stands for input.
  490.  
  491.                     -    With the  proliferation and  changes in archiving
  492.                          utilities,  there  seems  to  be  a need to allow
  493.                          multiple  programs.    Thus,  an  additional .CFG
  494.                          parameter  is  available  to  allow  the  use  of
  495.                          programs other than PKARC/PKXARC.  The  format is
  496.                          simply  "X=<extract-program>" & "A=<arcprogram>".
  497.                          Thus you might  have  a  line  like  "X=PKPAK" or
  498.                          variations  like  it.    You need not specify the
  499.                          extension, only the name.  If either of these two
  500.                          are found  in the  .CFG file,  ExArc will use the
  501.                          program names you supply instead of PKARC/PKXARC.
  502.                          If  not  found,  it  will  still  default  to the
  503.                          original names.
  504.  
  505.  
  506.           v 1.5     Feb  5, 1989        New feature added.
  507.  
  508.                     -    I  came  across  a  slightly  annoying situation,
  509.                          finding that  some folks not only place a comment
  510.                          in the archive, but  also additional  files which
  511.                          do not  belong there.   Not  only is this against
  512.                          the wishes of most  Shareware authors,  but these
  513.                          files will  also increase my storage requirements
  514.                          and my callers' transfer times!   Well, now there
  515.                          is  an  answer.    ExArc  can  be  told to remove
  516.                          specific files from the  archive if  found!  Most
  517.                          people are  consistent when  adding a  file.  All
  518.                          you need to  do  is  create  a  text  file called
  519.                          EXARC.EXC   (as   in   EXClusions)  in  the  same
  520.                          directory as  EXARC.CFG is  already in.   Use any
  521.                          text editor, COPY CON, EDLIN, and enter each file
  522.                          name you wish removed.  You  may enter  up to 100
  523.                          file  names,  each  on  a  separate line.  DO NOT
  524.  
  525.           ExZip v1.8 [02/23/89] - File Re-compressor program       Page 8.
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.                          enter drive  or directory  designations, only the
  539.                          file names!    This is it.  Simple and effective!
  540.                          You will never be  annoyed by  "extra" files ever
  541.                          again!
  542.  
  543.           v 1.6     Feb 20, 1989        Changes toward ZIP.
  544.  
  545.                     -    Program renamed to EXZIP.
  546.                     -    Several new CFG options added
  547.                     -    Handles compressed files inside the file
  548.                     -    Converts from either ARC or ZIP
  549.                     -    Updates PCBoard's DIRnn files now
  550.                     -    Stamps the new ZIP with date from DIRnn
  551.  
  552.           v 1.7     Feb 21, 1989        Minor (internal) change
  553.  
  554.                     -    ExZip was  never designed  for a major conversion
  555.                          effor, such as that of an  entire system.   Since
  556.                          it  relied  on  relatively  few  files  being re-
  557.                          comressed, the  DOS  .BAT  usage  was  fine.   In
  558.                          handling thousands  of files, however, DOS slowed
  559.                          it to unrealistically slow  levels.   Version 1.7
  560.                          now checks  the number  of files  that need to be
  561.                          processed and breaks the batch into  smaller .BAT
  562.                          files of  50 compressions each.  Thus we are able
  563.                          to retain the full conversion speed throughout.
  564.                     -    Minor changes in colors for readability
  565.                     -    Added file  display  to  last  step  of directory
  566.                          scans.  The system just seemed to sit there doing
  567.                          nothing on a large conversion.  Now at  least you
  568.                          can tell what it is doin.
  569.  
  570.           v 1.8     Feb 23, 89          Maintenance release
  571.  
  572.                     -    Corrected (external)  problem of  faulty ZIP file
  573.                          for version 1.7 (see notes on PKZIP bugs).
  574.                     -    Reduced  label  sizes   to   allow   handling  of
  575.                          directories containing more than 999 files.
  576.                     -    Added  additional  checking  for  the presense of
  577.                          PKZIP.  Previously, if this was  not found, ExZip
  578.                          could have  deleted the  original files without a
  579.                          replacement file.
  580.                     -    Corrected  documentation   to  properly  indicate
  581.                          default  program   name  as   PKXARC  instead  of
  582.                          PKUNPAK.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.           ExZip v1.8 [02/23/89] - File Re-compressor program       Page 9.
  592.  
  593.  
  594.  
  595.