HH.EXE can show HTML/JPEG files

夙愿已清 提交于 2019-12-24 08:16:45

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!