通过注册表添加自定义游览器协议

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\test]
;申明协议内容
"URL Protocol"="C:\Windows\System32\test.exe"
;申明打开文件
[HKEY_CLASSES_ROOT\test\shell\open\command]
@="\"C:\Windows\System32\test.exe\" \"%1\""

猜你喜欢

转载自blog.51cto.com/4432704/2553169