浏览器打开exe文件

<win-r> regedit 打开注册表,然后自定义协议

自定义协议注册表.reg

打开后导入

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\mbexe]
"URL Protocol"="F:\\\\myTools\\\\SP模板\\\\dist\\\\win-unpacked\\\\添加模板消息.exe"
"@"="mb"

[HKEY_CLASSES_ROOT\mbexe\shell]

[HKEY_CLASSES_ROOT\mbexe\shell\open]

[HKEY_CLASSES_ROOT\mbexe\shell\open\command]
@="\"F:\\\\myTools\\\\SP模板\\\\dist\\\\win-unpacked\\\\添加模板消息.exe\" \"%1\""

设置好后浏览器访问mbexe://

猜你喜欢

转载自www.cnblogs.com/ajanuw/p/9395285.html
今日推荐