浏览器唤起本地软件
类似于百度网盘,qq唤起已安装的软件
注意我图片画框的地方
源码
1,在空白文件夹里创建文本文档(后面再改后缀名)
2,编辑文本刚刚创建的文本文档内容
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\myprotocol]
@="myprotocol Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\myprotocol\DefaultIcon]
@="D:\\Program Files (x86)\\Netease\\CloudMusic\\cloudmusic.exe"
[HKEY_CLASSES_ROOT\myprotocol\shell]
@=""
[HKEY_CLASSES_ROOT\myprotocol\shell\open]
@=""
[HKEY_CLASSES_ROOT\myprotocol\shell\open\command]
@="\"D:\\Program Files (