home *** CD-ROM | disk | FTP | other *** search
/ RBBS in a Box Volume 1 #2 / RBBS_vol1_no2.iso / add2 / cvt_lzh1.zip / CVT-LZH1.DOC < prev   
Text File  |  1989-04-24  |  11KB  |  302 lines

  1.  
  2.  
  3.                              CVT-LZH1
  4.  
  5.                    CVT-LZH.BAT and CVT-LZH!.BAT
  6.  
  7.                         Copyright (C) 1989
  8.  
  9.                         KENNETH H. STARLING
  10.                        Post Office Box 9096
  11.                   Salt Lake City, Utah 84109-0096
  12.  
  13.                             Version 1.0
  14.                           April 24, 1989
  15.  
  16.  
  17.  
  18. █ What is CVT-LZH? █
  19.  
  20.     CVT-LZH is a set of two batch files that will allow you to 
  21. convert all archive files in a current directory to .LZH format 
  22. files. 
  23.  
  24.  
  25. █ What are the advantages of CVT-LZH? █
  26.  
  27.   ■ CVT-LZH finds all archives in the current directory (regardless 
  28.     of format type), and converts each one to the .LZH format! 
  29.  
  30.   ■ CVT-LZH automatically re-compresses all .LZH's in the current 
  31.     directory too! 
  32.  
  33.   ■ CVT-LZH will convert nested archives (archives within archives) 
  34.     to the .LZH format.  Even mixed archive formats will be 
  35.     converted to the .LZH format within the new .LZH! 
  36.  
  37.   ■ CVT-LZH automatically erases the old format type if there are 
  38.     no errors found when extracting the files. 
  39.  
  40.   ■ CVT-LZH will automatically move any defective archive to a 
  41.     subdirectory which CVT-ZIP creates called BAD.$$$ 
  42.  
  43.   ■ CVT-LZH automatically drops all comments because it extracts 
  44.     and compresses the file to the .LZH format! 
  45.  
  46.   ■ CVT-LZH gives you total control over its operations: 
  47.  
  48.       ■ CVT-LZH can be customized to do most any routine with 
  49.         simple batch commands (see suggestions below). 
  50.  
  51.       ■ CVT-LZH can be customized to remove any unwanted routines! 
  52.  
  53.       ■ CVT-LZH can be easily modified to include new archive 
  54.         formats! 
  55.  
  56.   ■ CVT-LZH's user fee is only five dollars!  
  57.  
  58.  
  59. █ What are the disadvantages of CVT-LZH? █
  60.  
  61.     Since CVT-LZH is a set of batch files, it requires slightly 
  62. longer to process than .exe or .com programs.  This reduction in 
  63. speed is only slightly noticeable on hard disk systems, and can 
  64. easily be overcome in floppy disk systems with the use of a small 
  65. ramdisk such as IBM's VDISK.SYS. 
  66.  
  67.  
  68. █ What else do I need in order to run CVT-LZH? █
  69.  
  70.   ■ DOS 2.0 to 3.21      
  71.  
  72.       ■ Edit the first line in both CVT-ZIP.BAT and CVT-ZIP!.BAT to 
  73.         read "echo off".   
  74.  
  75.       ■ Add the enclosed program CALL.COM to any directory in your 
  76.         PATH).  
  77.  
  78.   ■ DOS 3.3 or higher (you're set -- no changes necessary).         
  79.  
  80.   ■ You will need the following program in order to make your new 
  81.     .LZH's: 
  82.  
  83.             LHARC.EXE  (Ver. 1.00 or above)
  84.  
  85.   ■ You will also need the following archive format programs to 
  86.     extract files from the other formats: 
  87.  
  88.             ARC  -  ARC.EXE (any version)       \
  89.                     PAK.EXE (any version)         \
  90.                     PKXARC.EXE (any version)      /   any 1 will do
  91.                     PKUNPAK.EXE (any version)   /
  92.  
  93.             DWC  -  A bug in Vers. A5.01 and earlier will not 
  94.                     support parent directory (..\) function.  DWC 
  95.                     informs me that future versions will have the
  96.                     bug fixed.  A patched version is available from 
  97.                     me now (see EXTRAS for details).
  98.  
  99.             LBR  -  LUE.EXE (Vers. 2.20)                
  100.  
  101.              MD  -  MDCD (any version)
  102.  
  103.             PAK  -  PAK.EXE (any version)
  104.  
  105.             SQZ  -  ALUSQ.EXE (Vers. 1.1 - will process any ?Q?)
  106.  
  107.             ZIP  -  PKUNZIP.EXE (any version)
  108.  
  109.  
  110. █ How do I configure CVT-LZH to run on my machine? █
  111.  
  112.     CVT-LZH is ready to go!  It is setup to use PKUNPAK.EXE to 
  113. extract .ARC files.  You may need to change that to the .ARC type 
  114. compression program that you have, or make some other minor changes 
  115. for CVT-LZH to use your various archive format programs.  All 
  116. programs must support the parent directory function (..\).  This is 
  117. necessary in order to cycle properly to pickup any nested archives.  
  118. The format for configuring format types is as follows: 
  119.  
  120.     NOTE: [fext] means the filename extension which is made by the 
  121.           archive format program.  [FEXT] means use the same 
  122.           filename extrension, but use all caps. 
  123.  
  124.     CVT-LZH.BAT  (in the :RUN section)
  125.  
  126.           if exist *.[fext] set arctype=[FEXT]
  127.  
  128.     CVT-LZH!.BAT  (in the :START section)
  129.  
  130.           if "%arctype%" == "[FEXT]" [program name] [switch] ..\%1
  131.           if errorlevel 1 goto BAD
  132.  
  133.     CVT-LZH!.BAT  (in the :DOLZH section)
  134.  
  135.           if exist *.[fext] set arctype=[FEXT]
  136.  
  137.     NOTE:  All of the above changes must be properly made for each 
  138.            archive format program.  If not, CVT-LZH may not convert 
  139.            all of the files, or will not convert any nested 
  140.            archives of that format type. 
  141.  
  142.     NOTE:  Do not use multiple archive format programs, ie. do not 
  143.            use ARC.EXE and PKXARC.EXE together -- pick one only.
  144.  
  145.  
  146. █ How do I run CVT-LZH? █
  147.  
  148.     Add CVT-LZH.BAT and CVT-LZH!.BAT to any directory in your PATH 
  149. (also remember to add CALL.COM if using DOS 2.0 to 3.21). 
  150.  
  151.     CD (CHDIR) to the directory containing the files you want to 
  152. convert, and execute CVT-LZH -- the rest is automatic! 
  153.  
  154.  
  155. █ What kind of modifications can I make to CVT-LZH? █
  156.  
  157.     Here's where to make the modifications which are listed below:
  158.  
  159.            CVT-LZH!.BAT
  160.  
  161.                    del ..\%1
  162.                    if exist *.l!h ren *.l!h *.lzh
  163.  
  164.                         >>>  ENTER MODIFICATIONS HERE  <<<
  165.  
  166.                    echo y | lharc a ..\%1 *.*   <<< SEE BELOW
  167.                    ren ..\%1 *.l!h
  168.                    goto DONE
  169.                    :NEST
  170.  
  171.  
  172.     I like to remove the file time from all of my program files.  I 
  173. strip off all the file times, but leave dates intact by using 
  174. either of the following two utilities: 
  175.  
  176.             REDATE.COM     [redate *.* 00:00]   (W.C. Parke)
  177.  
  178.             FD.COM         [fd *.* /t00:00]     (Peter Norton)
  179.  
  180.     NOTE:  I suggest that you add the full path where programs can 
  181.            be found that you add as routines.  The reason for this 
  182.            is if you ever have a file by that same name, CVT-LZH 
  183.            will often percieve it as a bad file.  Example: 
  184.  
  185.                            c:\utility\fd *.* /t00:00 
  186.  
  187.     NOTE:  It's not a bad idea to edit the .LZH compression command
  188.            because of the factors in the previous note.  Example:
  189.  
  190.            >>>>>>>>>>>>>   echo y | c:\utility\lharc a ..\%1 *.*
  191.  
  192.  
  193.     I have a favorite BBS that always has an ad for the BBS 
  194. included inside any file I download from that board.  It's a waste 
  195. of space to have that included, so I add an automatic deletion of 
  196. that particular file to CVT-LZH: 
  197.  
  198.             if exist [filename] del [filename]
  199.  
  200.  
  201.     If you don't want to see the file extraction or compression 
  202. routines, or just about any other function add the following at the 
  203. end of the command line:
  204.  
  205.             > nul
  206.  
  207.             Example:  echo y | c:\utility\lharc a ..\%1 *.*  > nul
  208.  
  209.  
  210. █ EXTRAS █               
  211.  
  212.     There is no charge for the patched version of DWC.EXE, but I do 
  213. charge for the cost of the disk, postage and handling.  If you want 
  214. a copy of the patched version of DWC.EXE, send cash or money order 
  215. (checks accepted, but allow two weeks to clear) to: 
  216.  
  217.                Kenneth H. Starling
  218.                Post Office Box 9096
  219.                Salt Lake City, Utah 84109-0096
  220.  
  221.                    5-1/4 360-k floppy disk    $6.00
  222.                    3-1/2 720-K floppy disk    $8.00
  223.  
  224.  
  225. █ TRADEMARKS AND COPYRIGHTS █
  226.  
  227.     ALUSQ Copyright (C) 1985 Alan Losoff                       
  228.     ARC Copyright (C) 1985-1989 System Enhancement Associates, Inc. 
  229.     CALL Copyright (C) 1987 Craig D. Veal          
  230.     DWC Copyright (C) 1986,1987,1989 Dean W. Cooper 
  231.     FD Copyright (C) 1987-1988 Peter Norton Computing, Inc.
  232.     CVT-ZIP Copyright (C) 1989 Kenneth H. Starling 
  233.     IBM is the registered trademark of IBM Corporation 
  234.     LHARC Copyright (C) 1988,1989 Haruyasu Yoshizaki 
  235.     LUE220 Copyright (C) 1984-1986 Vernon D. Buerg
  236.     MDCD Copyright (C) 1988 Mike Davenport
  237.     MS-DOS is the registered trademark of Microsoft Corporation
  238.     PAK Copyright (C) 1988,1989 NoGate Consulting
  239.     PC-DOS is the registered trademark of IBM Corporation
  240.     PKUNPAK (tm) Copyright (C) 1986-1988 PKWARE, Inc. 
  241.     PKUNZIP (tm) Copyright (C) 1989 PKWARE, Inc. 
  242.     PKZIP (tm) Copyright (C) 1989 PKWARE, Inc. 
  243.     PKXARC (tm) Copyright (C) 1986-1987 PKWARE, Inc. 
  244.     REDATE (tm) Copyright (C) 1986,1989 W.C. Parke   
  245.  
  246.  
  247. █ DISCLAIMER █
  248.  
  249.     These programs are provided "as is" without any warranty of any 
  250. kind, either expressed or implied, including, but not limited to 
  251. the implied warranties of merchantability and fitness for a 
  252. particular purpose.  The entire risk as to the quality and 
  253. performance of the programs is with you.  You, the user, assume 
  254. full responsibility for the results of the use of these programs, 
  255. including, but not limited to the loss or corruption of data, or 
  256. damage to any equipment.  By your use of these programs, you agree 
  257. to hold harmless all parties connected with the manufacture and 
  258. distribution of these programs from any any liability whatsoever. 
  259.  
  260.  
  261. █ DISTRIBUTION █
  262.  
  263.     These files may be freely distributed, provided however, that 
  264. any such distribution be made under the filename CVT-LZH1.  Such 
  265. distribution must include all of the following four files in their 
  266. present form without any alteration whatsoever:  CVT-LZH.BAT,
  267. CVT-LZH!.BAT, and CVT-LZH.DOC.  These files may NOT be distributed 
  268. as the part of any other program or under any other name 
  269. whatsoever. 
  270.  
  271.  
  272. █ LICENSE █
  273.  
  274.     You may examine, modify and use CVT-LZH.BAT and CVT-LZH!.BAT 
  275. free of charge for ten days.  Thereafter, if you use CVT-LZH.BAT or 
  276. CVT-LZH!.BAT, either in their present form or any other form, you 
  277. must make payment of the $5.00 user fee. 
  278.  
  279.     Upon payment of the $5.00 user fee, you are granted a non 
  280. exclusive license to use and modify CVT-LZH.BAT and CVT-LZH!.BAT 
  281. for your personal use only. 
  282.  
  283.     You may not distribute any version of CVT-LZH.BAT, or
  284. CVT-LZH!.BAT, except as provided above. 
  285.  
  286.  
  287.     Send user fees to:  Kenneth H. Starling
  288.                         Post Office Box 9096
  289.                         Salt Lake City, Utah 84109-0096
  290.  
  291.                             CVT-ZIP.BAT & CVT-ZIP!.BAT . . $5.00
  292.  
  293.  
  294. █ BULLETIN BOARD CONTACT █
  295.  
  296.     If you wish to contact me, you may leave a message on the 
  297. following Bulletin Board System: 
  298.  
  299.                Redundant Department  (801) 272-7057                    
  300.  
  301. <eof>
  302.