In order to launch Internet Explorer from chrome in format
ie:https://example.com, I have added the following registry:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Classes\ie] "URL Protocol"="\"\"" @="\"URL:IE Protocol\"" [HKEY_CURRENT_USER\Software\Classes\ie\shell] [HKEY_CURRENT_USER\Software\Classes\ie\shell\open] [HKEY_CURRENT_USER\Software\Classes\ie\shell\open\command] @="cmd /K set url=\"%1\" & call set url=%%url:ie:=%% & call start iexplore %%url%%"
I tried the following two ways to remove double quotes, but neither worked:
call set url=%%url:\"=%%. This will cause the command to stop at
\"and IE will not appear.
Strip the first and last character:
call set url=%%url:~1,-1%%. Just doesn't change
So how can I remove the double quotes in a
cmd script in registry? Or is there another workaround to launch IE in chrome(with minimum effort) ?