home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / ZTL17.ZIP / ZTL.DOC < prev   
Text File  |  1993-02-09  |  5KB  |  115 lines

  1.         ╔╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╩╗
  2.         ╣              Zip to Lzh 1.7               ╠
  3.         ╣            ------------------             ╠
  4.         ╣   (or Any archive to Any other archive)   ╠
  5.         ╣                 --------                  ╠
  6.         ╣                    ZTL                    ╠
  7.         ╚╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╦╝
  8.  
  9.         ---------------------------------------------
  10.        [ totally freeware by Tim Middleton 1:250/202 ]
  11.         ---------------------------------------------
  12.  
  13. ZTL [<filespec>] [/b] [/d] [/i] [/t<archive-type>] [/w<drive:>] [/?]
  14.  
  15.     <filespec> - The file(s) to convert; can include any
  16.                     a path and wildcards (default is *.zip).
  17.             /b - Update FILES.BBS after archive conversion.
  18.                     (for Maximus bbs use).
  19.             /d - do NOT delete the original archive when
  20.                     done. (default deletes original)
  21.             /i - do NOT convert internal archives of the
  22.                     same extention as in <filespec>.
  23.             /t - declare extension of the target archive.
  24.                     (default is LZH)
  25.             /w - declare a work drive (not directory).
  26.             /? / quick help screen
  27.  
  28.  
  29. IMPORTANT:
  30.     You  must  edit  the  first  few lines of the program to make sure
  31.     that YOUR archivers are defined correctly.  This is  not  hard  to
  32.     do,  and  the  area  that you need to chang is clearly marked out.
  33.     Take a look at the program with a text editor  and  you  will  see
  34.     what to  do.    As many archivers as you want can be defined using
  35.     the following format (where EXT  is  the  file  extension  of  the
  36.     archiver):
  37.  
  38.         EXT.1='archiver unarchive_command'
  39.         EXT.2='archiver archive_command'
  40.  
  41.     ie.
  42.         ZIP.1='PKUNZIP2'
  43.         ZIP.2='PKZIP2'
  44.         LZH.1='LH X'
  45.         LZH.2='LH A'
  46.  
  47. NOTES:
  48.         - Just in case you run dos or windoze and haven't
  49.             realized it yet... this is for OS/2!!
  50.         - for best preformance put ZTL.CMD somewhere in
  51.             your path statement, naturally.
  52.         - If you just type ZTL with no parameters the
  53.             default will convert all ZIPs in the current
  54.             directory, including internal archives, to
  55.             LZH then delete the original archive files.
  56.         - Put the arguments in any order on the end of
  57.             the command line after the file name.
  58.         - <filespec> can include wildcards but wants an
  59.             idenifying extension (ie. *.zip or t*.zip);
  60.             however if no extension is given the extension
  61.             '.zip' will be added.
  62.         - <filespec> can include drives and paths.
  63.         - If you chose as target archive the same as the
  64.             original the original archive will be over-
  65.             written regardless of the /d flag.
  66.         - Immeditately folling the archiver definitions there
  67.             is a short section where you can define commands
  68.             to execute on the files in you archive before it
  69.             is rearchived.  In this way you can scan for
  70.             viruses and/or delete unwanted files.  See the
  71.             examples in the program with a text editor.
  72.             (Delete the sample commands if you don't want them).
  73.         - the /w work drive switch only wants a drive
  74.             (ie. e:, d:, etc) and not a directory.
  75.             If you give a directory it will be ignored.
  76.         - for Maximus/2 sysops the /b switch should be
  77.             invaluable as it will update your FILES.BBS.
  78.         - To run ZTL to convert all archive types in a
  79.             directory you should create a .cmd file
  80.             that runs ZTL for each file extenstion you
  81.             want to be convertered.
  82.         - With this realease long archive names with
  83.             spaces in them are not supported... though
  84.             long file names with no spaces should work.
  85.             I don't have enough RAM to run HPFS so I
  86.             haven't been able to test it out yet.  I will
  87.             add this feature if interest is shown.
  88.         - Archive file will be output in upper case.
  89.  
  90. Please feel free to send me any suggestions or compliments.
  91. If you change my code please send me an update!!  I want the
  92. better version <g>.  I'm on FidoNet at Tim Middleton 1:250/202.
  93.  
  94.  
  95. Revision 'History':
  96.  
  97. ZTL 1.7 - Feb 9/93
  98. ~~~~~~~
  99.           - Well, world, here it is escaping through the unsuspecting
  100.                phone lines.  Finally free of the endless revisions on
  101.                my lonely system!
  102.  
  103. /*=================================================================*/
  104. /* Hope you find this useful.  Send me any suggestions via NetMail.*/
  105. /* Tim Middleton 1:250\202              Toronto, Canada, Feb. 1993 */
  106. /*                                                                 */
  107. /*    Special Thank-Yous to:                                       */
  108. /*        Terence sin (1:250/604) fer putting up with me calling   */
  109. /*            his board every five minutes to upload him a new     */
  110. /*            version to try out.... wheeeeee.                     */
  111. /*        Mika Becker (1:250/202) who's BBS I call my own... uh..  */
  112. /*            I mean my _home_!  the Beladau bbs (416)975-1813.    */
  113. /*        And Yous for using my program! I hopes it useful.        */
  114. /*-----------------------------------------------------------------*/
  115.