Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Simu]
"URL Protocol"="D:\\Ezviz Studio\\EzvizProtect.exe"
@="SimuProtocol"
[HKEY_CLASSES_ROOT\Simu\DefaultIcon]
@="D:\\Ezviz Studio\\EzvizProtect.exe,1"
[HKEY_CLASSES_ROOT\Simu\shell]
[HKEY_CLASSES_ROOT\Simu\shell\open]
[HKEY_CLASSES_ROOT\Simu\shell\open\command]
[HKEY_CLASSES_ROOT\Simu]
"URL Protocol"="D:\\Ezviz Studio\\EzvizProtect.exe"
@="SimuProtocol"
[HKEY_CLASSES_ROOT\Simu\DefaultIcon]
@="D:\\Ezviz Studio\\EzvizProtect.exe,1"
[HKEY_CLASSES_ROOT\Simu\shell]
[HKEY_CLASSES_ROOT\Simu\shell\open]
[HKEY_CLASSES_ROOT\Simu\shell\open\command]
@="\"D:\\Ezviz Studio\\EzvizProtect.exe\" \"%1\""
把上面这段保存为.reg文件,导入注册表
测试
<html>
<head>
</head>
<body>
<a href="Simu://canshu">点击打开目标程序</a>
</body>
</html>