chrome网页中打开exe

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

猜你喜欢

转载自www.cnblogs.com/xuejianxiyang/p/10828106.html
今日推荐