A way for html to call local exe

1. Create a txt file as follows:

Windows Registry Editor Version 5.00

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

[HKEY_CLASSES_ROOT\QQClient\DefaultIcon]
@="C:\\Users\\root\\Tencent\\TIM\\Bin\\QQScLauncher.exe"

[HKEY_CLASSES_ROOT\QQClient\shell]
@=""

[HKEY_CLASSES_ROOT\QQClient\shell\open]
@=""

[HKEY_CLASSES_ROOT\QQClient\shell\open\command]
@="\"C:\\Users\\root\\Tencent\\TIM\\Bin\\QQScLauncher.exe\"  "

2. Save as reg, pay attention to choose ANSI encoding


3. Modify the content of <a> as follows:

Guess you like

Origin blog.csdn.net/Cecidit_824/article/details/123979694