axin85

web网页调用本地cs客户端程序exe

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标签调用注册表

<href=" WST://">     alt="点击这里">     </a>  

分类:

技术点:

相关文章:

  • 2021-06-27
  • 2021-08-30
  • 2021-10-16
  • 2021-12-23
  • 2021-06-16
  • 2021-05-31
  • 2021-08-08
猜你喜欢
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-31
  • 2021-08-25
  • 2022-12-23
相关资源
相似解决方案