网页上调起本地程序的方法
reg文件,html文件
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\myapp] @="URL:myapp Protocol Handler" "URL Protocol"="" [HKEY_CLASSES_ROOT\myapp\DefaultIcon] @="C:\\SeleniumTest.exe" [HKEY_CLASSES_ROOT\myapp\shell] @="" [HKEY_CLASSES_ROOT\myapp\shell\open] @="" [HKEY_CLASSES_ROOT\myapp\shell\open\command] @="\"C:\\SeleniumTest.exe\" \"%1\""
1 <a href="myapp://abc123...">start app</a>