1.reg注册表文件注册WST
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\WST]
"URL Protocol"="C:\\WSTStart.exe"
@="WSTProtocol"
[HKEY_CLASSES_ROOT\WST\DefaultIcon]
@="C:\\WSTStart.exe,1"
[HKEY_CLASSES_ROOT\WST\shell]
[HKEY_CLASSES_ROOT\WST\shell\open]
[HKEY_CLASSES_ROOT\WST\shell\open\command]
@="\"C:\\WSTStart.exe\"\"%1\""
2.把exe文件放在C盘根目录
3.wen网页用a标签调用注册表
<a href=" WST://"> alt="点击这里"> </a>