If you're talking about MS help files then they can be extracted to html and then broken up into chunks from there:
Extracting to HTML
On Windows, a CHM file can be extracted to plain HTML with the command:
Code:
hh.exe -decompile extracted filename.chm
This will decompress all files embedded in
filename.chm to folder
extracted.
or by using HTML Help Workshop.
On Windows, as a hack, select the topmost Topic, right-click and select Print. On the popup dialog, select "Print this heading and all subtopics.", click OK. Before selecting a printer, look in %HOMEPATH%\Local Settings\Temp for a file named ~hh*.htm. This is the concatenated HTML. The image reference will refer back to the .chm file at the time of the "print".
On Linux systems which use apt as a packaging tool, a CHM file is extracted to plain HTML with (first command is for a
Debian based OS)
Code:
$ sudo apt-get install libchm-bin $ extract_chmLib tero.chm tero/
Another useful set of tools for CHM files in non-Windows environments is the
CHM Tools Package. It's available as source code, and includes a program, chmdump, which extracts the HTML from a CHM file into a separate directory.
It's also available for
Mac OS X via
MacPorts.
If MacPorts is installed on your system, you can type:
Code:
$ sudo port install chmdump
at a Terminal prompt to install the package. You can then extract a CHM file with:
Code:
$ chmdump chmfile.chm outdir
source: wikipedia