问题
Apparently, one can view HTML and JPEG files (possibly others, didn't try), with HH.EXE, i.e. Microsoft's CHM file viewer.
Try "HH somefile.html". It was tested on Windows XP and Windows 10. Is this documented anywhere?
回答1:
As far as I know this is not documented public but it comes as little surprise.
HH.exe is the HTMLHelp executable and associated with *.CHM files. It's just a shell that uses the HTML Help API and is really just hosting a browser window. That is the reason why HTML, JPEG, GIF and animated GIF works. Microsoft Help MVP's always knew that but it's not really useful. Example:
PS D:\_temp> hh.exe -800 images\welcome_small_big-en.gif
HH.EXE is not single instance, if you open a CHM or another file three times using HH.EXE, then three help windows will appear.
Several client-side command line switches are available to help authors that are part of the HTML Help executable program (hh.exe) and therefore work when HTML Help Workshop is not set up.
For further Informationen see my site at HTMLHelp command-line.
来源:https://stackoverflow.com/questions/46489254/hh-exe-can-show-html-jpeg-files