home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / a / ac300a.zip / TIPS.TXT < prev    next >
Text File  |  1993-03-25  |  6KB  |  118 lines

  1.        AC - The Archive Converter  V3.00a  By Donald M. Langhorne
  2.         Copyright (c) 1991,1993; All rights reserved;
  3.        ==========================================================
  4.  
  5. Tips:
  6. -----
  7.  
  8. The following describes some features that are available to AC, that may not
  9. be readily apparent to the user.  Some are undocumented features that the
  10. user must understand they use at their own risk!
  11.  
  12. --------------------
  13. | Updating Archives|
  14. --------------------
  15.    Updating an archive to a newer version.  For example, you have an archive
  16.    that was created using PkZip V1.10.    You would like to update it to
  17.    PKZip V2.04.  The first thing to keep in mind is that a newer version
  18.    of an archiver should ALWAYS be able to extract older versions, and
  19.    therefore you do NOT need to define two different archivers, just the
  20.    newer one.  It is worth noting that some archivers may require an extra
  21.    switch to read older versions.  You should consult the docs for that
  22.    archiver, then add the switch to the dearchiver definition.
  23.  
  24.    Below are the three methods available to accomplish this task:
  25.       1) UI(User Interface) Mode:  Either press F3 for options and turn
  26.          updating ON, or just press the <ALT-U> key to toggle this feature
  27.          ON and OFF.  Highlight the archive you wish to convert and press
  28.          <ENTER>.
  29.  
  30.       2) CL(Command Line) Mode:  when you type in the command line switches
  31.          add the switch '/U' and it will toggle the update feature to ON.
  32.  
  33.       3) Set it as default:(Registered users ONLY!)  You can run ACSetup
  34.          and set this feature to be ON by default.  You should remember that
  35.          if this is set to ON, and you use the switch '/U' on the command
  36.          line, IT WILL TURN THIS FEATURE OFF.  You would not need to add the
  37.           switch '/U' if it were set to ON.
  38.  
  39.    NOTE:  If you use wildcards on the command line, AC will NOT convert
  40.           like archives.  For example if you want to update 3 ZIP files
  41.           to the newer version and you type AC /Z *.*, AC will NOT convert
  42.           any ZIP files.  You would need to be more specific.  Some examples
  43.           are:  AC /Z *.zip ; AC /Z myfile1.zip myfile2.zip myfile3.zip
  44.  
  45. ---------------------------------------
  46. |Using Advanced Command Line WildCards|
  47. ---------------------------------------
  48.    I have tried to make AC as flexible as possible when converting
  49.    archives from the command line.  Except the for the first two, you
  50.    can chain these commands one after the other to convert just the
  51.    archives you want.  With very few exceptions, the  following
  52.    wildcard combinations are possible:
  53.  
  54.     -- '*' when you specify this on the command line, AC will
  55.        automatically convert ALL archive files found to the desired type.
  56.        It will however not convert any archives that are already of the
  57.        desired type(See Above).
  58.  
  59.     -- '*.*' Would do the same this as '*'.  See previous item.
  60.  
  61.     -- '*.<EXT>' where <EXT> is the extension(IE ZIP) that MUST already
  62.        be defined by ACSetup.  This will convert ALL files having the
  63.        extension of <EXT>.
  64.  
  65.     -- '<FILENAME> Where you do NOT specify an extension.  If you have
  66.        an archive file called THISZIP.ZIP and you want to convert it
  67.        to an ARJ file, you can simply type: AC /J THISZIP
  68.        AC actually translates this to convert THISZIP.*  Which would
  69.        convert ANY files that have the same name, and all extensions
  70.        that have been defined in ACSetup.
  71.  
  72.     -- '<FILENAME.EXT>  This is the most specific method, where you
  73.        specify the complete file name.  AC will convert just that file.
  74.  
  75.     -- In addition to the above, below are some more wildcard assignments
  76.        that would be supported by AC:
  77.  
  78.        AC /Z m*.ARJ    : will convert ALL ARJ files matching the criterion
  79.                           m*
  80.        AC /Z m1??34.LZH : will convert ALL LZH files that match the
  81.                               criterion 'm1??34'
  82.  
  83.    Below are a few command line wildcards that would NOT work and
  84.    some alternate methods to get the result you want:
  85.  
  86.      -- AC /Z MYFILE. : Will fail, use AC /Z MYFILE (No Period)
  87.  
  88.      -- AC /Z *.A*    : I have not tested this, so cannot say that
  89.                             it won't work, but don't think it would.
  90.                             Instead, use AC /Z *.ARC *.ARJ etc..
  91.  
  92. -----------------------------------------------
  93. |Adding Comments to Archives During Conversion|  *** Undocumented ***
  94. -----------------------------------------------
  95.  
  96.  It is possible to add comments to archives when using AC, however I
  97.  will not garauntee a fix if you have problems.  When you define an
  98.  archiver in ACSetup, you can enter ANY valid command line options
  99.  as a default switch.  If you enter the switch to create comments for
  100.  archive files, when AC converts the archive, you will be able to enter
  101.  comments.  As of this version, AC uses DOS windows for output during
  102.  conversion, and you will not be able to see all 80 characters across.
  103.  The length of the window is about 45 characters.  When the archive
  104.  asks for the comment, you may not be able to see all that you type, if
  105.  you type past the edge of the window.    This does not mean that the
  106.  characters you type that you can't see don't get accepted, you just
  107.  can't see them.
  108.  
  109.  Example:  To create comments for ZIP files, you would normally add the
  110.            '-C' switch if you were creating a ZIP file from DOS.
  111.            Run ACSetup, goto the archive defintion for ZIP, and add the
  112.            '-C' switch to one of the four available normal switches.
  113.            When you then convert an archive to ZIP, You will be able to
  114.            enter comments, just as if you ran it from the DOS prompt.
  115.  
  116.  
  117.  
  118.