



                                     READ ME
                                     _______

        COMPACK  version  4.4  is distributed as a  self  expanding  file
        CPK44.EXE.   Executing this program will create all the files  of
        the package in the current directory.  These files are:-

          MANUAL.DOC        - Copy this to your printer.
          COMPACK.EXE       - Program compactor.
          BUILDSFX.EXE      - Self expanding file generator.
          COM2EXE.EXE       - Multisegment COM file converter.
          README            - This file
          REPACK.BAT        - Batch file to repack programs.


        COMPACK is a program compactor, squeezing your COM and EXE  files
        smaller  so  the  take up less space on  disk  and  load  faster.
        Compared with the competition, COMPACK consistently produces  the
        smallest, fastest programs with the mininum requirement for extra
        memory and other resources.  An important aspect is that  COMPACK
        will  successfully compress a wider class of programs than  other
        program compressors.

        The  BUILDSFX  utility  uses COMPACK to  produce  self  expanding
        files,  (SFX programs which recreate data files  when  executed).
        This  way of distributing compacted files is ideal  for  software
        distributors  who do not have the space on disk to include  bulky
        archiving  programs and who may not like to burden the user  with
        complicated  interfaces.   Best of all the SFX  programs  execute
        many times faster than the fastest competition!

        The   COMPACK  package  is  copyright  software  distributed   as
        shareware.   Please take the trouble to read the MANUAL.DOC  file
        for distribution conditions.

        This rest of this file contains last minute information which may
        not be included in the printed manual.


                          Enhancements over version 4.3
                          _____________________________
        EXE Header Optimization

        Most  linkers  produce EXE headers which are a  multiple  of  512
        bytes so there may be considerable unused space.  Using the  "-h"
        option  normal  EXE program compression is bypassed  and  COMPACK
        attempts to reduce the header to a smaller multiple of 16  bytes.
        This  is a useful technique for EXE style device drivers  or  for
        very small EXE files.


                          Enhancements over version 4.2
                          _____________________________
        Network Support

        Under DOS 3.X the input file is opened DENY_WRITE preventing  any
        other  process (including COMPACK itself or other network  users)
        from overwriting.  Note that your operating system may not  offer
        this protection unless SHARE is loaded.




        Real Time Environment

        Many PC applications are finding their way into networks,  multi-
        tasking   platforms  and  real  time  applications.    In   these
        environments   a   program  which  disables  interrupts   for   a
        significant  amount  of  time is  considered  ill  behaved.   For
        example disabling interrupts could cause a resident communication
        program  to lose a character, (and probably the  entire  packet).
        If  you  are already having problems of this kind  with  programs
        compressed  by  other  utilities,  COMPACK  may  be  the  answer.
        COMPACKted programs have no additional interrupt latency.
        Device Drivers

        COMPACK  will  now recognize device  drivers.   COMPACTED  device
        drivers cannot be loaded by CONFIG.SYS.  Compaction of COM  style
        drivers  is always aborted, but certain EXE drivers may  also  be
        programs  in their own right (such as CACHE.EXE) so there may  be
        some  (very dubious) value compressing them  and  COMPACK  issues
        only a warning message.  COMPACK will return error code 14 if the
        -i   identify switch is set on the command  line if it detects  a
        device driver.


        COMMAND.COM

        COMPACK  aborts  compression if COMMAND.COM is specified  as  the
        input  program  unless  the -r switch is  used.    Using  the  /P
        parameter  in the SHELL command, CONFIG.SYS can load  COMMAND.COM
        permanently  in  memory  so  it is never  re-read  and  works  in
        compacted  form.   Unfortunately this does not always  work  with
        some  operating  system and application program  combinations  so
        again, careful testing is essential.

        Example:-
                             SHELL=C:\COMMAND.COM /P


        Compacting BIOS Files

        IO.SYS  and IBMBIO.COM may be sucessfully compressed  by  COMPACK
        even though strictly speaking they are neither COM nor EXE  style
        files.  COMPACK takes care of all the details without any special
        options.  Neither MSDOS.SYS nor IBMBIO.COM may be compacted.




        COM2EXE Utility Program

        COM2EXE  converts certain COM programs  (so-called  multi-segment
        COM  files)  supplied with MS-DOS and PC-DOS to the  smaller  EXE
        format.   Type  COM2EXE  for a simple  help  screen  for  further
        information or see example use in the file REPACK.BAT.


        REPACK.BAT Utility batch file

        REPACK  is similar to COMPACK but attempts to identify what  kind
        of program is being compressed and to convert it automatically to
        a more appropriate format prior to compression.

             Usage:-
                       REPACK input_program  output_program

        If REPACK cannot compact the input program it will make a  simple
        copy  of the file.  Depending on the nature of the input  program
        in  addition to the utilities contained in the  COMPACK  package,
        you may also require the following programs:-

             PKLITE    (A shareware program)
             UNLZEXE   (A public domain program)
             EXE2BIN   (supplied with DOS)
             UPACKEXE  (Supplied with LZEXE 0.91, a "freeware" package)


