home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / vrac / ac311.zip / TIPS.TXT < prev    next >
Text File  |  1994-11-20  |  6KB  |  121 lines

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