Create MS Edge-specific URL shortcut

3

I've created other browser-specific URL shortcuts for various purposes.

My current environment requires IE remain the default browser (yup) but some sites don't work with IE, so for those I create shortcuts that call the full path to Chrome.exe and then call the desired URL. The result being that activating that shortcut opens Google Chrome and navigates to the desired web page.

Microsoft Edge stores itself in an odd "app" location and cannot be called in the same way.

So, how does one create a shortcut for a specific URL that opens this URL in Microsoft Edge when some other browser is set as default?

music2myear

Posted 2018-10-22T21:34:59.577

Reputation: 34 957

Answers

5

I believe you'd create a shortcut that looks like this:

%windir%\explorer.exe microsoft-edge:http://www.yoursite.com

Moses

Posted 2018-10-22T21:34:59.577

Reputation: 10 813

Yea, I found that in a comment while re-reading a question I'd found while trying to find the question in the first place. I'll mark yours as the answer once it lets me in 10 minutes. – music2myear – 2018-10-22T21:39:04.603

1FWIW, it also seems like you can use the microsoft-edge: protocol in an anchor tag in a browser. Clicking <a href="microsoft-edge:https://yoursite.com">go</a> in IE will open that page in Edge, without any confirmation (at least on my system). In Chrome, you have to confirm that you want to open Edge before it'll launch. – jdunning – 2019-05-10T22:11:59.393

2

While asking this question I read this comment on a related question I'd found

You can launch a site using "microsoft-edge:www.cnn.com" Or "%windir%\explorer.exe microsoft-edge:www.cnn.com" but I've found no way to add -private parameter.

So, I created a shortcut using the following Target:

%windir%\explorer.exe "microsoft-edge:https://google.com"

And this worked.

music2myear

Posted 2018-10-22T21:34:59.577

Reputation: 34 957