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

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.

Download tool - 20 KB

Date Last Updated: May 17, 1999



Comments

  • Is source code available?

    Posted by Legacy on 08/16/2001 12:00am

    Originally posted by: Donald Becker

    Is there any source code available to compress the CHW files? I am actually more interested in decompressing CHM files on Linux. I bought some books that come with electronic versions that are in CHM format. Oviously this does me no good on a Linux machine.

    Reply
  • What about chm/chi files?

    Posted by Legacy on 03/12/2000 12:00am

    Originally posted by: amv

    What about chm/chi files?
    Are those already compressed? If not, is it possible to compress them?

    Thanx

    Reply
  • CHI and CHQ

    Posted by Legacy on 08/23/1999 12:00am

    Originally posted by: Victor Boctor

    Hi,

    I just wanted to ask a question that is not 100% related, but I guess you will have the answer for it. How can I generate the CHI file. I am trying to integrate my CHM files with the MSDN so that if the programmer presses F1 on a keyword in VC++ it can open the class documentation in my CHMs.

    I would really appreciate your help.

    Thanks in advance,
    Victor Boctor.

    Reply
  • It is awesome!

    Posted by Legacy on 06/10/1999 12:00am

    Originally posted by: Patrick Frants

    This is the kind of tool I like. It does a lot for me without
    requiring me to read any docs!

    Many thanks!

    Patrick Frants

    Reply
  • The resulting file is missing links and only displays the home page!

    Posted by Legacy on 05/18/1999 12:00am

    Originally posted by: Ben Jeremy

    Maybe I'm missing something, but it seems as if it shrinks the compiled HTML by removing the index, all the links, and leaves only the home page. What's going on here?

    I tried it on COMM98.CHM (copying it to COMM98.CHW) and the resulting file is useless. Has Zafir or Chris looked at this utility in depth?

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Instead of only managing projects organizations do need to manage value! "Doing the right things" and "doing things right" are the essential ingredients for successful software and systems delivery. Unfortunately, with distributed delivery spanning multiple disciplines, geographies and time zones, many organizations struggle with teams working in silos, broken lines of communication, lack of collaboration, inadequate traceability, and poor project visibility. This often results in organizations "doing the …

  • With JRebel, developers get to see their code changes immediately, fine-tune their code with incremental changes, debug, explore and deploy their code with ease (both locally and remotely), and ultimately spend more time coding instead of waiting for the dreaded application redeploy to finish. Every time a developer tests a code change it takes minutes to build and deploy the application. JRebel keeps the app server running at all times, so testing is instantaneous and interactive.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds