Conversion method: First create and open a text document, enter "hh -decompile converted path name.chm", save the document; then click "View" on the disk folder interface and check "File extension "; then change the file to "name.bat"; finally, right-click the file and select "Run as administrator".
The operating environment of this tutorial: Windows 10 system, Dell G3 computer.
First create a new text document in the directory where the chm file is located. For example: there is a file named xitongzhijia.chm in the D drive. Then we open the new text document and enter the following code:
hh -decompile e:\test\help xitongzhijia.chm
where e:\test\help refers to the converted path;
Click the close button and click [Save];
Click [View] in the menu bar of the disk folder interface and make sure [File extension] is checked below; (Ignore this step if checked)
Rename the newly created folder .txt to x.bat, which can be set to 1.bat or 2.bat. The name can be set at will and must be followed by the suffix of [.bat];
Then right-click on 1.bat and select [Run as Administrator]
After the conversion is completed, we open the previously set conversion file path, that is You can see a folder that is the same as the chm file. Open it to see the converted content!
For more computer-related knowledge, please visit the FAQ column!
The above is the detailed content of How to convert chm to txt. For more information, please follow other related articles on the PHP Chinese website!