参考资料:https://blog.csdn.net/weixin_42579717/article/details/105518619
桌面建个bat文件把这段代码放进去保存执行,然后浏览器访问 127.0.0.2:48625
// houdini_help.bat文件内容
@echo off
if "%1" == "h" goto begin
start mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit
:begin
set HOUDINI_NO_ENV_FILE=1
"C:Program FilesSide Effects SoftwareHoudini 18.0.287inhhelp.exe" serve --bgindex 0 --host 127.0.0.2 --port 48625
----实战文件:
// houdini_help.bat
@echo off
if "%1" == "h" goto begin
start mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit
:begin
set HOUDINI_NO_ENV_FILE=1
"D:vfxsidefxhoudini180499inhhelp.exe" serve --bgindex 0 --host 127.0.0.1 --port 48626
//注释:不用打开houdini软件,直接可以使用浏览器打开帮助文档。
//首先运行houdinihelp.bat文件(双击houdinihelp.bat文件);
//浏览器网址访问houdini_help文档:https://127.0.0.1:48626
//替换部分_(hhelp.exe)路径:D:vfxsidefxhoudini180499inhhelp.exe
----关闭程序:
Microsoft Windows [版本 10.0.17763.316]
(c) 2018 Microsoft Corporation。保留所有权利。
C:UsersAdministrator>taskkill /f /t /im hhelp.exe
成功: 已终止 PID 9860 (属于 PID 6124 子进程)的进程。
C:UsersAdministrator>