Open local app from hyperlink
December 17, 2020
Adding a custom URI in Windows involves adding a registry entry within HKEY_CLASSES_ROOT . The following will open the app with the absolute path given when clicking on a link to css-tricks://<text>
.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\css-tricks]
"URL Protocol"=""
@="CSS Tricks (Application name)"
[HKEY_CLASSES_ROOT\css-tricks\shell]
[HKEY_CLASSES_ROOT\css-tricks\shell\open]
[HKEY_CLASSES_ROOT\css-tricks\shell\open\command]
@=""C:\\Windows\\notepad.exe" "%1""
From < https://css-tricks.com/hyperlinking-beyond-the-web/#windows-traditional >