KeyCHW: A Compression Utility for MSDN (and other large help systems)
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.
Date Last Updated: May 17, 1999

Comments
Is source code available?
Posted by Legacy on 08/16/2001 12:00amOriginally 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.
ReplyWhat about chm/chi files?
Posted by Legacy on 03/12/2000 12:00amOriginally posted by: amv
What about chm/chi files?
Are those already compressed? If not, is it possible to compress them?
Thanx
ReplyCHI and CHQ
Posted by Legacy on 08/23/1999 12:00amOriginally 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,
ReplyVictor Boctor.
It is awesome!
Posted by Legacy on 06/10/1999 12:00amOriginally 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
ReplyThe resulting file is missing links and only displays the home page!
Posted by Legacy on 05/18/1999 12:00amOriginally 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