Microsoft Edge browser supports opening it from command line tool like Command Prompt. Here’s the command to run the Edge browser from the command line.
Edge Chromium is the default browser in the Windows 10 operating system. Compared to the old Internet Explorer or the old Edge browser, the new browser is much faster and reliable. In fact, compared to other browsers, the new Edge provides some impressive battery life improvements. Though not as prominent as Chrome, the new Edge browser is slowly but surely gaining ground in terms of browser market share. Put simply, the new Edge browser is awesome in a lot of ways.
If you are a power user who uses the Microsoft Edge browser on a daily basis, there might be times when you need to open Edge from Command Prompt or PowerShell. This is especially true when creating custom scripts to open a URL. For example, my broadband provider requires additional login to access the internet. So, I created a simple script that auto logins as and when required. To do that, I have to run Edge from the command line.
In those kinds of situations, you can execute a single-line command to run Edge from the command line and open any URL from there. The process is very similar to how you open Chrome from the command line. So, without further ado, follow the steps below to run the Edge browser from the command line.
Command to Run Edge from Command Line
To open the Edge browser from the Command Prompt, follow the steps below.
- First, open the Start menu. You can do that by pressing the “Start” key.
- Type “cmd” and press Enter to open the Command Prompt window.
- After opening the command line window, use the “start msedge” command to open the Edge browser.
- To open a URL from the command line in the Edge browser, execute “start msedge www.example.com” command. Replace the dummy URL with the actual website URL.
Start Edge in Incognito Mode from Command Line
Just like the regular Edge browser, you can also open it in the Incognito mode. This is especially useful when running the Edge browser from scripts. Follow the steps below to open Edge in incognito mode from the command prompt.
- Open the Command Prompt window.
- After opening it, execute “start msedge -inprivate” command to open Edge in incognito mode.
- To open a URL in the incognito mode, execute the “start msedge www.example.com -inprivate” command. Replace the dummy URL with the actual URL.
That is all.
It is that simple to Run edge from the command line in Windows 10. If you are stuck or need some help, comment below and I will try to help as much as possible.