At least in Windows 7, you can create your own protocol as long as you add a URL Protocol value of type REG_SZ to the key. He does not need real value, he just has to be present. Here is a simple example of the “Echo Protocol” that I just created that works in Explorer.
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\echo] "URL Protocol"="" @="Echo Protocol" [HKEY_CLASSES_ROOT\echo\shell] [HKEY_CLASSES_ROOT\echo\shell\open] [HKEY_CLASSES_ROOT\echo\shell\open\command] @="C:\\WINDOWS\\SYSTEM32\\CMD.EXE /Q /C (echo %1) && pause"
I found that it will also work on the keys HKCU\Software\Classes and HKLM\Software\Classes . However, it is not listed in the Control Panel\Programs\Default Programs\Set Associations list. Other keys may need to be updated, or they will need to be registered in some way with Windows.
I believe this is the same or similar in older versions of Windows XP and above.
Jeff mercado
source share