新建register.reg

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exe1]
@="exe1 Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\exe1\shell\open\command]
@="F:\\jiaoshi\\fb2\\jiaoshi_ship\\jiaoshi_ship.exe"


[HKEY_CLASSES_ROOT\exe2]
@="exe2 Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\exe2\shell\open\command]
@="F:\\jiaoshi2\\hello.exe"

exe1是协议名,hello.exe是可执行文件路径。

网页通过exe1://调用hello.exe程序。

相关文章: