Click here to Skip to main content
15,887,336 members
Articles / Desktop Programming / MFC
Article

KeyCHW: A Compression Utility for MSDN (and other large help systems)

Rate me:
Please Sign up or sign in to vote.
1.00/5 (3 votes)
1 Feb 2000 49.9K   213   12   4
A DOS utility for compressing CHW files.
  • Download demo project - 20 Kb

    A .CHW file is just a .CHM file with a different extension. By default, a .CHW file isn't compressed since compression can require a fair amount of memory, and not all machines will be able to handle the memory requirements. But if you ship a CHW file with your product, or you have large CHW files on your machine (e.g., MSDN), then KeyCHW can significantly reduce the size of the CHW file. Compression is in the neighborhood of 85%. With large CHW files like MSDN, this can save over 30 megabytes of hard disk space.

    KeyCHW is a DOS Console program. When you download it, you should save it to your windows folder, or some folder within your PATH environment. To run it, you need to start up a DOS box, switch to the folder containing the CHW file or files you want to compress and type "KeyCHW" followed by the names of the CHW files to compress. If you want to compress all the CHW files in that folder, simply type "KeyCHW *.chw".

    Compression can take a long time, so don't be surprised if you don't see any activity for quite awhile. For example, to compress the 35 megabyte CHW file that ships with Visual Studio 6, it will take around 2 and a half minutes on a P450 (but you will end up with a file 1/10th the size!).

    KeyCHW is free -- you can install it wherever you want, give it to whoever you want, etc. Of course, we do have the legal disclaimer stuff to take care of:

    BECAUSE THIS PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THIS PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM ``AS IS'' WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

    IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

  • License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here


    Written By
    Web Developer
    United States United States
    This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

    Comments and Discussions

     
    Questionis this an article? or a shareware site? Pin
    f211-Oct-04 6:16
    f211-Oct-04 6:16 
    AnswerRe: is this an article? or a shareware site? Pin
    Ralph Walden11-Oct-04 7:09
    Ralph Walden11-Oct-04 7:09 
    CodeProject provides both -- articles to inform, code for tools, and lots of stuff in between. If you object to authors providing source code for tools, then you need to take up that issue with the folks that manage the CodeProject site.
    GeneralCHW Compression Pin
    Member 11279-Feb-00 2:51
    Member 11279-Feb-00 2:51 
    GeneralRe: CHW Compression Pin
    Guy Gascoigne-Piggford18-Feb-00 12:06
    Guy Gascoigne-Piggford18-Feb-00 12:06 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.