CHM Decompiler - extract chm files from command line


My readers can see that I have listed three CHM extractor for freeware. All of them have different purposes. CHM Encoder, the ability to generated chm file tree into a html tree for viewing; CHMUnpacker, the ability to see the contents of CHM and extract some parts that we select; and the last one is CHM Decompiler, the ability to assign a right click context menu to extract chm files directly on the working directory.

The installation for CHM Decompiler is very simple and you can choose which one you like. This is only a command line so there will be no UI for you to play with. I suggest only Context Menu Entries (On CHM/ITSs) and unselect both Context Menu Entries (On Folders) + Send To Shortcuts. 

I highly recommended this application for extracting CHM files because it is faster for us. By right clicking the chm, we can immediately extract the files. A warning for my reader is that there is also a command line option for extracting using CHM Encoder but it does not work properly and it always missing one files. The good news is that by using CHM Decompiler, it can extract all the files in CHM.


chmdeco is a program that converts the internal files of a CHM back into the files that were used to create it: .hhp, .hhc, .hhk, .stp, alias & map
files etc.

Some of its command line options:
Place these before any arguments they should apply to.
    Turn on printing defaults in the [OPTIONS] section of the hhp
    Turn off printing the blurb at the start of the hhp
    Turn off printing the compilation stats at the start of the hhp
    Print version and usage on stderr, then exit
    Turn on converting the following characters in the hhc/hhk into entity refs
    & &
    < &lt;
    > &gt;
    " &quot;
    ™ (0x99) &trade;
    Turn on converting the full-text search information back into html files
    Turn off options processing for the rest of the arguments