Html实现唤醒本地exe程序
1.注册表导入Windows Registry Editor Version 5.00
@="无限星辰AI智能体"
"URL Protocol"=""
@="C:\\Program Files\\xmspace\\xmspace_ai.exe"
@=""
@=""
@="\"C:\\Program Files\\xmspace\\xmspace_ai.exe\" "
//如果需要带参数,最后一行就换成这样=>@="\"C:\\QQ\\Program Files\\xmspace\\xmspace_ai.exe\" \"%1\""
2.html的a标签
<a href="xmspace://">打开xmspace</a>
<!--如果想带参数-->
<a href="xmspace:我是参数">带参数打开xmspace</a>
3.打开网站测试,ok
页:
[1]