web link custom protocol, open the local application

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\accessclient]
@="URL:AccessClient Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\accessclient\DefaultIcon]
@="xxxxxxxx.exe,1"

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

[HKEY_CLASSES_ROOT\accessclient\shell\open]

[HKEY_CLASSES_ROOT\accessclient\shell\open\command]
@="\"C:\\Program Files (x86)\\xxxxx.exe\" \"%1\""

Links to write accessclient: // xxxxxxxxxxxxxxxxxxxxxxxxxx

reference:

https://blog.csdn.net/lwj_925/article/details/78333811

 

Under linux not tested, you can refer to this:

https://blog.csdn.net/leiweip/article/details/88321780

 

Guess you like

Origin www.cnblogs.com/tekikesyo/p/12175650.html