Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open URL in Microsoft Edge from the command line?

I need to open URL in Microsoft Edge (on Windows 10). When I invoke

start shell:AppsFolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge http://www.google.com 

then Microsoft Edge is started correctly but it doesn't open the given URL (www.google.com, in this case). It opens Bing search where the given URL is used as a search term instead.

like image 430
Jan Štola Avatar asked Jul 01 '15 14:07

Jan Štola


People also ask

How do I open Microsoft Edge from Run command?

Start Microsoft Edge from Run command boxStep 1: Open Run command box by simultaneously pressing the Windows logo and R keys. Step 2: In the field, type microsoft-edge:// or microsoft-edge: and then press Enter key.

How do I make a URL shortcut open in Edge?

If Edge is not your default browser, but you want to open a web page using Edge, right-click on the desktop > New > Shortcut. Here replace www.XYZ.com with the URL of the site or the web page. Click Next, give the shortcut and name, and complete the process.

How do I force a webpage to open in Edge?

To get started, launch Edge and click the Settings and more button (three dots) in the upper-right corner of the browser and choose Settings from the menu. Next, on the Settings page click On startup from the left column. Then from the right section under “On startup” select Open a specific page or pages.


1 Answers

The following method should work via Command Prompt (cmd):

start microsoft-edge:http://www.cnn.com 
like image 85
Charles Morris - MSFT Avatar answered Oct 19 '22 01:10

Charles Morris - MSFT