Home » How To » How to Run MS Edge from Command Line & Open URL

How to Open Edge Browser from Command Line & Run Dialog

Edge is the default browser on Windows 10 and 11. Generally, you’d just click on the taskbar icon or search for it in the Start menu to open it. However, what if you are looking for another way? For instance, maybe you want to schedule the Edge browser to open at a specific time or create a script to open a specific URL. In those kinds of situations, you can use the Run dialog box or command line tools such as Command Prompt or PowerShell to open the Edge browser. Here’s how.

Note: The below steps are tested to work in Windows 10 and 11.

Launching Edge from Command Prompt and PowerShell

Open PowerShell or Command Prompt by searching for them in the Start menu. Press the Windows key to open the Start menu, type PowerShell or Command Prompt into the search bar, and select the application from the search results.

Once the Command Prompt or PowerShell window opens, type start msedge and press Enter to open the Edge browser.

Execute start msedge command

If you need to open a specific URL, type start msedge example.com and press Enter. Replace example.com with the URL of your choice.

Open edge with a specific URL from command line

To open Edge in InPrivate mode (Incognito mode), type start msedge -inprivate command and press Enter.

To open a URL in InPrivate mode, type start msedge example.com -inprivate and press Enter. Replace the dummy URL with the URL of your choice.

Note: PowerShell does not support opening the Edge browser in InPrivate mode. If you want that, you must use the Command Prompt.

Opening Edge with the Run Dialog Box

Press Windows key + R to open the Run dialog box. In the dialog box, type msedge and click OK to open the Edge browser.

To open Edge InPrivate mode, type msedge -inprivate and click OK.

And there you have it! The two obscure but easy ways to open Edge from the command line or Run dialog box.

4 thoughts on “How to Open Edge Browser from Command Line & Run Dialog”

    1. Avatar for Bashkarla

      Yes. Just make sure to add quotes around the entire URL if the search query has spaces in it. The command will look something like this.

      start msedge "https://www.google.com/search?q=my search query"

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top