home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / COMPRESS / CVT_ZIP1.ZIP / CVT-ZIP1.DOC < prev   
Encoding:
Text File  |  1989-04-24  |  10.5 KB  |  303 lines

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