We usually see chm E-book files are brought with the system hh.exe To watch , Actually hh.exe There's also a command to put chm Convert to html.hh The order is as follows ：
hh -decompile [html Save the path ] [chm file ]
for example hh -decompile d:\ The Demi-Gods and the Semi-Devils .chm
You can use batch processing to make this decompile operation easier . The batch process is as follows ：
title CHM E-book counter editor BAT edition
set /p urlfile= Please put the... To be reversed CHM E-books drag in ( Press enter again )：
copy %urlfile% chmfile.chm > nul
hh -decompile .\CHM chmfile.chm
rem del /q chmfile.chm > nul You can put the front of this sentence rem Get rid of , After removing it, it will be deleted after decompiling successfully chm Source file .
echo The file was successfully reversed . Save in .\CHM In the folder , Press any key to exit ！
rem pause > nul
You can also download third-party tools that will chm Convert to html Such as ：CHM Encoder、chm2web I don't think it's necessary , Yes hh.exe That's enough .
html Convert to chm Method ：
This has to be done with a third-party tool , The best software is Easy CHM.
say Easy CHM yes html The file is converted to chm There's a reason why files are best software , Remember when I was in college, I wanted to make my own webpage chm file , I've found many ways , Almost all the chm Download all the conversion software , Make a careful comparative assessment , Finally, I chose Easy CHM. Because only this software can completely contain all the resources in chm In the document , The format shows the original , The effect is perfect . It is recommended that you use this software .