Decompiling CHM help files

Perhaps you are told that to edit a CHM file (Compiled HTML Help file, bearing .chm file name extension) on Windows, you will need to download HTML Help Workshop. This is only partly true. Windows can decompile a CHM file and extract its contents. To do so, run the following command:

hh.exe -decompile <extracted> <filename.chm>

This will decompress all files embedded in <filename.chm> to <extracted> folder.

This method is tested and confirmed to work on Windows 8 Enterprise Edition (32-bit, IA-32, RTM, build 9200).

If you prefer a graphical user interface, 7-Zip opens CHM files as archives, allowing access to their content. A lot of people have 7-zip.

Advertisements

Posted on 21 November 2012, in Windows Administration and tagged , , , , , . Bookmark the permalink. Leave a comment.

Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: