Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\VMS]
@="URL:VMS"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\VMS\DefaultIcon]
@="chrome.exe,1"
[HKEY_CLASSES_ROOT\VMS\shell]
[HKEY_CLASSES_ROOT\VMS\shell\open]
[HKEY_CLASSES_ROOT\VMS\shell\open\command]
@="E:\\Debug\\CameraPlayer.exe"
以上内容另存为WebCall.reg,替换最后一行为实际要打开的exe文件全路径
双击导入注册表
网页中加入
<a href="VMS://admin admin"> vms </a>
浏览网页 点击超链接即可打开exe
原文:https://www.cnblogs.com/xuejianxiyang/p/10828106.html