home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / UTIL_ARC / CARCH105.ZIP / CARCH.DOC < prev    next >
Text File  |  1994-01-01  |  16KB  |  408 lines

  1.  
  2.                                 CARCH ver 1.05
  3.                           The Compression Converter
  4.                               Copyright (c) 1993
  5.                                    12/31/93
  6.  
  7.  
  8.                             By: Leonardus Leonardi
  9.  
  10.                               LIMIT OF LIABILITY
  11.  
  12.        CARCH is distributed as-is. The author disclaims all warranties,
  13.        expressed or implied.  The author will assume no liability for
  14.        damages either from the direct use of this product or as a
  15.        consequence of the use of this product.
  16.  
  17.  
  18.                                SHAREWARE NOTICE
  19.  
  20.        This program  is copyrighted  shareware.  No part of  the CARCH
  21.        program  or the  accompanying documentaion  may be  altered  or
  22.        distributed for compensation (except for a copying cost and the
  23.        price of a disk) without prior written consent from the author.
  24.        You are  granted a license to  use this program for twenty days
  25.        on a  trial basis. If you choose  to use CARCH after this trial
  26.        period you  must register it.  Registration is only  $10.00 and
  27.        registers you  to  use  all  future  updates  of CARCH as well.
  28.        A registration form is included in this package.  Print out the
  29.        file "REGISTER.FRM"  and send it  to  the address  on the form.
  30.        Checks or money orders are accepted.  The latest version of
  31.        CARCH can be downloaded from ThunderBBS at (021)7544230,,,77,77
  32.        (add  more  commas  if you  fail  to  get connected) or at the
  33.        CompuServe:
  34.  
  35.               IBM Bulletin Board forum (GO IBMBBS)
  36.               IBM Systems and Utility  (GO IBMSYS)
  37.               Gamers forum             (GO GAMERS)
  38.  
  39.        Also, any questions or suggestions regarding this program can
  40.        be directed to the SysOp of ThunderBBS or E-Mail at Compuserve
  41.        73441,1702 or E-Mail via Internet at 73441.1702@compuserve.com
  42.  
  43.  
  44.                                  DESCRIPTION
  45.  
  46.        CARCH is  a program to  convert  file(s)  from  one compression
  47.        format  to another  easily & fast. In  the spirit  of promoting
  48.        shareware you will need to acquire the appropriate file (de)com
  49.        pression utility for  the type of file that you want to convert
  50.        from/to.  Most, if not all, are available  on ThunderBBS  which
  51.        is the Support and Distribution site for this program.  See the
  52.        info at  the end of these Docs.  Note that due to the different
  53.        conversion possibilities the (de)compression of sub-directories
  54.        is NOT supported.  But, CARCH WILL  properly convert compressed
  55.        files within  compressed files (providing  that they are of the
  56.        same  type  of compression as  the main  file being converted).
  57.        CARCH is user friendly. In order for CARCH to function you must
  58.        have several ARCHIEVE  programs such as PKZIP, ARJ etc , Please
  59.        note  that  these  programs  are  copyrighted  and  they can be
  60.        obtained from most BBS's.
  61.  
  62.        ARJ.EXE       : Robert K. Jung
  63.  
  64.        ARC.EXE       : System Enhancement Association, Inc. Wayne NJ
  65.        ARCE.EXE      :    "        "           "        "     "   "
  66.  
  67.        LHARC.EXE     : Haruyasu Yoshizaki
  68.        LHA.EXE       :     "       "
  69.  
  70.        PK(UN)PAK.EXE : PKWare, Inc.
  71.        PK(UN)ZIP.EXE :   "      "
  72.  
  73.        PAKLEO.EXE    : Leonardus Leonardi
  74.        UNPAKLEO.EXE  :   "          "
  75.  
  76.        ZOO.EXE       : Rahul Dhesi
  77.  
  78.  
  79.                                     FEATURES
  80.  
  81.        - Convert files from one compression format to another such as
  82.          ARJ, ARC, LZH, PLL, ZIP, ZOO
  83.        - Up to 10 compression program can be define in configuration file
  84.        - Configurable convert Program ( Un/Compress Program and Switch )
  85.        - Using -D command, Delete the source after the conversion ( if
  86.          the conversion fail, this feature will be disable automaticly)
  87.        - Using M or S switch, Convert compressed files within compressed
  88.          files. The Level of recursive conversion is UnLimited !
  89.        - Configurable scratch / temporary directory
  90.        - Check the Source & Target extension
  91.        - Windows aware
  92.        - Optimation Code (using low level language [Register Prog. Only])
  93.        - Great error control  and  more .......
  94.  
  95.  
  96.                        FILES INCLUDED WITH CARCH.
  97.  
  98.        CARCH.EXE       The main/executable CARCH program.
  99.  
  100.        CARCH.CFG       File configuration for Extention, switch and
  101.                        Archieve Program
  102.  
  103.        CARCH.DOC       This File
  104.        REGISTER.FRM    Registration form
  105.  
  106.  
  107.  
  108.        Thanks to Daniel Palmans (Hewlett-Packard) for reporting the
  109.        "runtime error 004 at 0000:0F46" [too many files open] in
  110.        previous version of CARCH ver 1.00
  111.  
  112.  
  113.                                   OPERATION
  114.  
  115.        To start-up CARCH, first you must set up the CARCH environment
  116.        variable, using the  SET dos command, and  the  CARCH.CFG must
  117.        reside in the directory pointed  to by the CARCH  enviromental
  118.        variable. To set up this variable add e.g. "SET CARCH=C:\DOS\"
  119.        to your  AUTOEXEC.BAT file  and REBOOT (this assumes that your
  120.        CARCH.CFG file is  in the "DOS" subdirectory on your C drive),
  121.        the trailing "\" is optional. After that you can specified the
  122.        (de)compression programs in the Configuration file (CARCH.CFG)
  123.        The structure of the CARCH.CFG is Extension, Compress Program,
  124.        Compress  Switch,  Uncompress  Program , Uncompress  Switch
  125.        separated with comma (,) and ended with  Enter. At the end of
  126.        the configuration file press CTRL-Z (mark EOF). Make sure you
  127.        give pathname and fullname to Compress  and  UnCompress program
  128.        otherwise the program won't work properly, and give the Compress
  129.        & UnCompress switch if neccesary.
  130.  
  131.        Important: No spaces anywhere on the line at Configuration file
  132.  
  133.        Switch: e.g.
  134.  
  135.            ARJ A TEST.ARJ C:\TEST\*.*
  136.  
  137.                ^
  138.            this switch is use to Add files to the TEST.ARJ
  139.  
  140.            ARJ E TEST.ARJ C:\TEST
  141.  
  142.                ^
  143.            this switch is use to Extract files to the TEST Dir
  144.  
  145.  
  146.        Configuration: e.g.
  147.  
  148.            ARJ,C:\DOS\ARJ.EXE,A,C:\DOS\ARJ.EXE,E
  149.             ^          ^      ^       ^        ^
  150.             │          │      │       │        │
  151.             │          │      │       │ Uncompress Switch
  152.             │          │      │ Uncompress Program
  153.             │          │ Compress Switch
  154.             │  Compress Program
  155.            Extention created by the compress program
  156.  
  157.  
  158.  
  159.                              CARCH.EXE USAGE
  160.  
  161.        Type CARCH (without parameter), the help will be shown, and
  162.        before using this program make sure that there is ample spa
  163.        ce on  your drive  to  decompress the file that you want to
  164.        convert. If there is not, use an alternate/temporary  direc
  165.        tory as the Fourth command line option. If CARCH does not
  166.        complete a conversion for one reason, the temporary sub-di
  167.        rectory  automaticly  remove (the  files too) Just executed
  168.        the CARCH program in the same directory. CARCH program armed
  169.        with Great Error Control, The Speed & Code Optimation, that
  170.        makes the CARCH Ver 1.05 the best Archive Converter.
  171.  
  172.  
  173.                              REGISTERED USER
  174.  
  175.        If you've Register the CARCH v1.05 you'll receive the file
  176.        name CARCH.KEY, copy that file to the Directory where the
  177.        CARCH environment variable pointed to.
  178.  
  179.  
  180.                            NON REGISTERED USER
  181.  
  182.        The non Registered programs running more slowly (5 seconds
  183.        delay per conversion), and every time you run this program
  184.        the Non-Registered Message will appear (10 seconds delay).
  185.        And after 30 days automaticly program will stop "Working",
  186.        so Register this program ($10 US only) :)
  187.  
  188.                                  BUGS REPORT
  189.  
  190. - FIRST EMAIL -
  191. FROM:   Daniel Palmans, INTERNET:dpalmans@ppg01.sc.hp.com
  192. TO:    Leonardus Leonardi, 73441,1702
  193. DATE:    12/29/93 8:13 AM
  194.  
  195. Re:    +Postage Due+carch utility
  196.  
  197. Sender: dpalmans@ppg01.sc.hp.com
  198. Received: from hp.com by arl-img-1.compuserve.com (8.6.4/5.930129sam)
  199.     id TAA13417; Tue, 28 Dec 1993 19:12:54 -0500
  200. Received: from ppg01.sc.hp.com by hp.com with SMTP
  201.     (1.36.108.7/15.5+IOS 3.13) id AA07716; Tue, 28 Dec 1993 16:12:52 -0800
  202. Received: by ppg01.sc.hp.com
  203.     (1.37.109.8/15.5+ECS 3.3) id AA14178; Tue, 28 Dec 1993 16:12:52 -0800
  204. From: Daniel Palmans <dpalmans@ppg01.sc.hp.com>
  205. Message-Id: <9312290012.AA14178@ppg01.sc.hp.com>
  206. Subject: carch utility
  207. To: 73441.1702@compuserve.com
  208. Date: Tue, 28 Dec 93 16:12:52 PST
  209. Mailer: Elm [revision: 70.85]
  210.  
  211. Hi,
  212.  
  213. I just downloaded you carch utility to convert from one archive type to
  214. another.  It's a utility I could really use.
  215. I've try it and just found out that it has a bug !!!!
  216.  
  217. It always abort with a runtime error 004 at 0000:0f46
  218.  
  219. I try to convert a .lzh file that contains other lzh files into a zip.
  220. The program runs, uncompress some of the stuff and then aborts, leaving a
  221. subdirectory and a converted zip file that's not what it should be.
  222.  
  223. I've tried several other lzh files and still the same problem.
  224.  
  225. I'd love to use this program and to pay for it if at least it would run.
  226.  
  227. the command I use was carch -cm *.lzh zip
  228.  
  229. Can you fix it ??
  230.  
  231.  
  232. --
  233. Daniel Palmans                                 GPCD - US Marketing Center
  234.     email : dpalmans@ppg01.sc.hp.com                   Hewlett-Packard  
  235.     hpdesk: daniel palmans/hp4200                      5301 Stevens Creek Blvd
  236.     tel.  : (408) 553-7605                             Santa Clara
  237.     fax   : (408) 553-2968                             Mail-stop: 51RE
  238.  
  239.     
  240. - SECOND EMAIL -
  241.  
  242. FROM:   Daniel Palmans, INTERNET:dpalmans@ppg01.sc.hp.com
  243. TO:    Leonardus Leonardi, 73441,1702
  244. DATE:    12/30/93 4:19 AM
  245.  
  246. Re:    +Postage Due+Re: CARCH Bugs
  247.  
  248. Sender: dpalmans@ppg01.sc.hp.com
  249. Received: from hp.com by arl-img-1.compuserve.com (8.6.4/5.930129sam)
  250.     id PAA13991; Wed, 29 Dec 1993 15:18:38 -0500
  251. Received: from ppg01.sc.hp.com by hp.com with SMTP
  252.     (1.36.108.7/15.5+IOS 3.13) id AA22858; Wed, 29 Dec 1993 12:18:36 -0800
  253. Received: by ppg01.sc.hp.com
  254.     (1.37.109.8/15.5+ECS 3.3) id AA19746; Wed, 29 Dec 1993 12:18:36 -0800
  255. From: Daniel Palmans <dpalmans@ppg01.sc.hp.com>
  256. Message-Id: <9312292018.AA19746@ppg01.sc.hp.com>
  257. Subject: Re: CARCH Bugs 
  258. To: 73441.1702@CompuServe.COM (Leonardus Leonardi)
  259. Date: Wed, 29 Dec 93 12:18:36 PST
  260. In-Reply-To: <931229081709_73441.1702_FHF29-1@CompuServe.COM>; from "Leonardus Leonardi" at Dec 29, 93 3:17 am
  261. Mailer: Elm [revision: 70.85]
  262.  
  263. HI,
  264.  
  265. > Thanx for trying the carch utility of mine, i think the problem that 
  266. > you've encountered is the 004 runtime error, thats mean "Too many files
  267. > to Open", i suggest you to add more files to the FILES var at the
  268. >...
  269.  
  270. Nice config, mineS are quite interesting too... I work at HP PC division, so
  271. I have a lot of high performance machines with all kind of
  272. configurations...
  273. I tried different machines and always the same problem...
  274.  
  275. I can send you one of the file I'm trying to zip.  Do you have ftp access ??
  276.  
  277.  
  278. The config. is dos 6.2 here is the mem/c output :
  279.  
  280. ------------------------------------------------------------------------
  281.  
  282. Modules using memory below 1 MB:
  283.  
  284.   Name           Total       =   Conventional   +   Upper Memory
  285.   --------  ----------------   ----------------   ----------------
  286.   MSDOS       21,405   (21K)     21,405   (21K)          0    (0K)
  287.   HIMEM        1,120    (1K)      1,120    (1K)          0    (0K)
  288.   EMM386       4,144    (4K)      4,144    (4K)          0    (0K)
  289.   COMMAND      2,992    (3K)      2,992    (3K)          0    (0K)
  290.   SMARTDRV    32,096   (31K)     32,096   (31K)          0    (0K)
  291.   Free       702,720  (686K)    593,360  (579K)    109,360  (107K)
  292.  
  293. Memory Summary:
  294.  
  295.   Type of Memory       Total   =    Used    +    Free
  296.   ----------------  ----------   ----------   ----------
  297.   Conventional         655,360       62,000      593,360
  298.   Upper                109,360            0      109,360
  299.   Reserved             262,144      262,144            0
  300.   Extended (XMS)    15,750,352    4,674,768   11,075,584
  301.   ----------------  ----------   ----------   ----------
  302.   Total memory      16,777,216    4,998,912   11,778,304
  303.  
  304.   Total under 1 MB     764,720       62,000      702,720
  305.  
  306.   Total Expanded (EMS)                   638,976   (624K)
  307.   Free Expanded (EMS)                    245,760   (240K)
  308.   Largest executable program size        593,136   (579K)
  309.   Largest free upper memory block         65,536    (64K)
  310.   MS-DOS is resident in the high memory area.
  311.  
  312. ------------------------------------------------------------------------
  313.  
  314.  
  315. This is the LZH file content:
  316.  
  317. ------------------------------------------------------------------------
  318.  
  319.  
  320. Listing of archive : V12N05.LZH
  321.  
  322.   Name          Original    Packed  Ratio   Date     Time   Attr Type  CRC
  323. --------------  --------  -------- ------ -------- -------- ---- ----- ----
  324.   DAYSUF.SC          619       257  41.5% 92-09-14 21:58:00 a--w -lh1- C0E9
  325.   JUSTIF.LZH       13997     13997 100.0% 93-03-02 14:36:46 a--w -lh0- 593D
  326.   NUMBER.LZH        3813      3813 100.0% 93-03-02 14:35:30 a--w -lh0- 302F
  327.   NXTKEY.PRG        1538       728  47.3% 92-09-14 21:57:44 a--w -lh1- D349
  328.   PC-SET.LZH       30932     30932 100.0% 93-03-02 14:34:08 a--w -lh0- E0DB
  329.   SSDIR.WK1         1915       511  26.7% 92-10-26 18:54:54 a--w -lh1- 5051
  330. --------------  --------  -------- ------ -------- --------
  331.      6 files       52814     50238  95.1% 93-12-28 15:19:40
  332.  
  333. ------------------------------------------------------------------------
  334.  
  335.  
  336. And here is the output of the command carch -cm *.lzh zip
  337.  
  338.  
  339. ------------------------------------------------------------------------
  340. DAYSUF.SC
  341. JUSTIF.LZH
  342. NUMBER.LZH
  343. NXTKEY.PRG
  344. PC-SET.LZH
  345. SSDIR.WK1
  346. JUSTIFY.C
  347. JUSTIFY.DEF
  348. JUSTIFY.EXE
  349. JUSTIFY.H
  350. JUSTIFY.MAK
  351. JUSTIFY.RC
  352. JUSTIFY.TXT
  353. NUMBER.ASM
  354. NUMBER.COM
  355. NUMBER.SCR
  356. SETEXIT.COM
  357. SETEXIT.SCR
  358. z DOS Environment z
  359. Converting C:\TMP\V12N05.LZH to C:\TMP\V12N05.ZIP
  360. Runtime error 004 at 0000:0F46.
  361.  
  362. ------------------------------------------------------------------------
  363.  
  364. And here is the content of the dir carchtemp left by the program
  365.  
  366.  
  367. ------------------------------------------------------------------------
  368.  
  369.  Volume in drive C is DPA-1      
  370.  Volume Serial Number is 1B6B-6C0F
  371.  Directory of C:\TMP\CARCHTMP
  372.  
  373. .            <DIR>         12-29-93   9:54a
  374. ..           <DIR>         12-29-93   9:54a
  375. DAYSUF   SC            619 09-14-92   9:58p
  376. NUMBER   ASM         3,456 04-25-92   6:45p
  377. NXTKEY   PRG         1,538 09-14-92   9:57p
  378. SSDIR    WK1         1,915 10-26-92   6:54p
  379. JUSTIFY  C           8,041 12-03-92   4:56p
  380. JUSTIFY  DEF           231 12-02-92   8:20p
  381. JUSTIFY  EXE        20,530 12-03-92   4:58p
  382. JUSTIFY  H             426 12-03-92   1:10p
  383. JUSTIFY  MAK           420 12-02-92   8:21p
  384. JUSTIFY  RC            762 12-03-92   1:09p
  385. JUSTIFY  TXT           564 12-02-92   1:09p
  386. NUMBER   COM           581 04-26-92   7:31p
  387. NUMBER   SCR         1,531 04-26-92   7:39p
  388. SETEXIT  COM            64 12-02-92   3:14p
  389. SETEXIT  SCR         1,358 12-02-92   3:13p
  390.        17 file(s)         42,036 bytes
  391.                      138,854,400 bytes free
  392. ------------------------------------------------------------------------
  393. Daniel Palmans                                 GPCD - US Marketing Center
  394.     email : dpalmans@ppg01.sc.hp.com                   Hewlett-Packard  
  395.     hpdesk: daniel palmans/hp4200                      5301 Stevens Creek Blvd
  396.     tel.  : (408) 553-7605                             Santa Clara
  397.     fax   : (408) 553-2968                             Mail-stop: 51RE
  398.     
  399.  
  400.                   TECHNICAL SUPPORT AND DISTRIBUTION SITE
  401.  
  402.        ThunderBBS - PCBoard 15                  Leonardus Leonardi
  403.        +62 (021) 7544230,,,77,77,77        Buana Pesanggrahan VI/8
  404.        24Hrs 7 Days                          Cinere, South Jakarta
  405.        8-N-1 Full Duplex                 ZipCode: 16514, Indonesia
  406.        1200 - 14400 Bps V32bis           Compuserve ID: 73441,1702
  407.        MNP5, V42bis            Internet: 73441.1702@compuserve.com
  408.