A super-simple way to convert a CHM to HTML under Windows (the method of deserializing CHM files)
Convert the CHM file to an HTML file by invoking the Windows command.
Method:
Command Line (CMD), enter Hh-decompile < output folder path > < full pathname of CHM file to decompile >
For example:
Win+r key, pop-up Run window input command cmd Enter, then enter:
Hh-decompile D:/chm/target D:/chm/vc++6doc.chm
Instance:
C:\users\administrator>d:
D:\>CD jquery
D:\jquery>hh-decompile D:\jquery\html D:\jquery\jquery1.8.3_20121129.chm
D:\jquery>hh-decompile D:\jquery\html D:\jquery\jquery1.8.3_20121129.chm
Copy Code
The corresponding HTML file is generated in the directory D:/chm/target.
Well, if you only convert a CHM, then you don't have to look at the following, if the bulk of the words to see below.
If there are many CHM files that need to be converted, you can write a batch bat file by writing:
The CHM file is placed in the same directory.
For example, the following bat:
For%%c in (d:/chm/*.chm) do hh.exe-decompile d:/chm/%%c D:/chm/%%c.chm
All CHM files in the D:/chm directory will be converted to the same folder as the CHM file name.
A super-simple way to convert CHM to HTML