Last active
July 19, 2022 17:03
-
-
Save eirannejad/301b73dd791388f868ad2030ed48744e to your computer and use it in GitHub Desktop.
Registry file to add microsoft-ie URL schema to windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\microsoft-ie] | |
@="URL:Internet Explorer Protocol" | |
"URL Protocol"="" | |
[HKEY_CLASSES_ROOT\microsoft-ie\shell] | |
@="open" | |
[HKEY_CLASSES_ROOT\microsoft-ie\shell\open] | |
[HKEY_CLASSES_ROOT\microsoft-ie\shell\open\command] | |
@="cmd /v:on /q /c \"set url=%1 & start C:\\PROGRA~1\\INTERN~1\\iexplore.exe !url:~13!\" " | |
[HKEY_CLASSES_ROOT\microsoft-ie-http] | |
@="URL:Internet Explorer Protocol" | |
"URL Protocol"="" | |
[HKEY_CLASSES_ROOT\microsoft-ie-http\shell] | |
@="open" | |
[HKEY_CLASSES_ROOT\microsoft-ie-http\shell\open] | |
[HKEY_CLASSES_ROOT\microsoft-ie-http\shell\open\command] | |
@="cmd /v:on /q /c \"set url=%1 & start C:\\PROGRA~1\\INTERN~1\\iexplore.exe http!url:~17!\" " | |
[HKEY_CLASSES_ROOT\microsoft-ie-https] | |
@="URL:Internet Explorer Protocol" | |
"URL Protocol"="" | |
[HKEY_CLASSES_ROOT\microsoft-ie-https\shell] | |
@="open" | |
[HKEY_CLASSES_ROOT\microsoft-ie-https\shell\open] | |
[HKEY_CLASSES_ROOT\microsoft-ie-https\shell\open\command] | |
@="cmd /v:on /q /c \"set url=%1 & start C:\\PROGRA~1\\INTERN~1\\iexplore.exe https!url:~18!\" " | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Similar to this it defines separate schemas for http and https
microsoft-ie-http://
microsoft-ie-https://
microsoft-ie:
is also added for legacy compatibility withmicrosoft-edge:
format described here