Categories
Interior

How to open microsoft edge using command prompt on windows 10

Marshall is a writer with experience in the data storage industry. He worked at Synology, and most recently as CMO and technical staff writer at StorageReview. He’s currently an API/Software Technical Writer based in Tokyo, Japan, runs VGKAMI and ITEnterpriser, and spends what little free time he has learning Japanese. Read more.

You can launch applications and programs using the Command Prompt—and Microsoft Edge is no exception. You can also use Command Prompt to launch Edge in InPrivate Browsing mode, open a specific website, or restore the previous session. Here’s how.

To launch Microsoft Edge using Command Prompt, you’ll need to have already downloaded and installed Edge. These steps work for both the Legacy Edge and Chromium-based Edge.

Launch Edge Using Command Prompt

Open Command Prompt by typing “cmd” in the Windows Search bar and selecting “Command Prompt” from the search results.

In Command Prompt, run this command:

Microsoft Edge will now open normally.

Open a Specific Site in Edge Using Command Prompt

Instead of launching Edge and then entering a URL in the web browser to visit a site, you can do both at the same time using the Command Prompt.

Open Command Prompt (type “cmd” in Windows Search and select “Command Prompt”) and run this command:

Replace with the URL of the site you want to visit. For example:

Edge will launch and open the specified site.

Launch Edge with the Previous Session Restored Using Command Prompt

If you accidentally closed Edge and you want to relaunch it with all the tabs of the previous session restored, you can do so with the Command Prompt.

Open Command Prompt (type “cmd” in Windows Search and select “Command Prompt”) and run this command:

Edge will launch with all the tabs from the previous session restored.

Launch Edge in InPrivate Browsing Mode Using Command Prompt

Using Microsoft Edge in InPrivate Browsing mode deletes your browsing info when you end the session, doesn’t record your download history, and prevents Bing search from being associated with you.

To launch Edge in InPrivate Browsing mode, open Command Prompt (type “cmd” in Windows Search and select “Command Prompt”) and run this command:

Edge will now launch in InPrivate Browsing mode.

Microsoft Edge is the second most popular browser for Desktop, Edge earned this reputation for the following reasons. First, it’s a chromium-based browser, so it gains the advantage of using the extensions available on rival platforms. And it almost reaches Chrome’s performance, the browser delivers improved performance and gains user experience. Microsoft Edge has a lot of improved features and it also delivers improved battery life. According to reports Microsoft Edge offering a new set of features daily. You can download and install three different built versions of Microsoft Edge from the Edge Insider page . As like other browsers Installing and Launching Edge Browser is easy. You can launch Microsoft Edge in many different ways, this article will guide you to Launch Microsoft Edge Using Command Prompt in Windows 10.

Table of Contents

Launch Microsoft Edge Using Command Prompt:

You can launch Microsoft Edge by double-clicking on the shortcut, or just choose the browser from the start menu. Follow the below-mentioned steps to open Microsoft Edge using Command Prompt.

Open Command Prompt in elevated mode and type the following command and hit enter.

Start msedge

This command will launch Microsoft Edge.

If you want to open any specific website using edge browser then type the following command and hit enter.

To Open inPrivate Browsing Mode:

Type the following command to open incognito mode in Edge Browser.

Start msedge -inprivate

This command will open edge inprivate window.

To Restore Last session:

If you accidently closed the edge browser and want to relaunch the Edge browser with the same tabs, then type the following command.

start msedge –restore-last-session

This command will restore the last session in Edge Browser.

You can launch apps and programs using the command prompt, and Microsoft Edge is no exception. You can also use the command prompt to launch Edge in InPrivate browsing mode, open a specific website, or restore your previous session. That is how.

To lunch Microsoft Edge using the command prompt, you’ll need to already havedownloaded and installed edge. These steps work for both the Legacy Edge and Chrome-based Edge.

How to open Google Chrome Using Command Prompt in Windows 10

Launch Edge Using Command Prompt

Open Command Prompt by typing “cmd” in the Windows search bar and select “Command Prompt” from the search results.

At the command prompt, run this command:

Microsoft Edge will now open normally.

Open a Specific Site in Edge Using the Command Prompt

Instead of launching Edge and then entering a URL in the web browser to visit a site, you can do both at the same time using Command Prompt.

Open the command prompt (type “cmd” in Windows search and select “Command Prompt”) and run this command:

Replace with the URL of the site you want to visit. For example:

Edge will launch and open the specified site.

Launch Edge with previous session restored via command prompt

If you accidentally closed Edge and want to restart it with all your tabs from the previous session restored, you can do so using the command prompt.

Open the command prompt (type “cmd” in Windows search and select “Command Prompt”) and run this command:

Edge will launch with all tabs from the previous session restored.

Launch Edge in InPrivate browsing mode using the command prompt

Using Microsoft Edge in InPrivate browsing mode deletes your browsing information when you log out, doesn’t record your download history, and prevents Bing search from being associated with you.

Lunch Edge in InPrivate browsing mode, open the command prompt (type “cmd” in Windows search and select “Command Prompt”) and run this command:

Edge will now launch in InPrivate browsing mode.

How to find and open files using command prompt

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.

  1. First, open the Start menu. You can do that by pressing the “Start” key.
  2. Type “cmd” and press Enter to open the Command Prompt window.
  3. After opening the command line window, use the “start msedge” command to open the Edge browser.
  4. 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.

  1. Open the Command Prompt window.
  2. After opening it, execute “start msedge -inprivate” command to open Edge in incognito mode.
  3. 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.

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.

You can launch applications and programs using the Command Prompt—and Microsoft Edge is no exception. You can also use Command Prompt to launch Edge in InPrivate Browsing mode, open a specific website, or restore the previous session. Here’s how.

您可以使用命令提示符启动应用程序和程序-Microsoft Edge也不例外。 您还可以使用命令提示符以InPrivate浏览模式启动Edge,打开特定网站或还原上一个会话。 这是如何做。

To launch Microsoft Edge using Command Prompt, you’ll need to have already downloaded and installed Edge. These steps work for both the Legacy Edge and Chromium-based Edge.

要使用命令提示符启动Microsoft Edge,您需要已经下载并安装Edge 。 这些步骤对Legacy Edge和基于Chromium的Edge均适用 。

使用命令提示符启动Edge ( Launch Edge Using Command Prompt )

Open Command Prompt by typing “cmd” in the Windows Search bar and selecting “Command Prompt” from the search results.

In Command Prompt, run this command:

Microsoft Edge will now open normally.

使用命令提示符在Edge中打开特定站点 ( Open a Specific Site in Edge Using Command Prompt )

Instead of launching Edge and then entering a URL in the web browser to visit a site, you can do both at the same time using the Command Prompt.

Open Command Prompt (type “cmd” in Windows Search and select “Command Prompt”) and run this command:

Replace with the URL of the site you want to visit. For example:

将 替换为您要访问的站点的URL。 例如:

Edge will launch and open the specified site.

使用命令提示符还原先前会话的启动边缘 ( Launch Edge with the Previous Session Restored Using Command Prompt )

If you accidentally closed Edge and you want to relaunch it with all the tabs of the previous session restored, you can do so with the Command Prompt.

Open Command Prompt (type “cmd” in Windows Search and select “Command Prompt”) and run this command:

Edge will launch with all the tabs from the previous session restored.

使用命令提示符以私有浏览模式启动Edge ( Launch Edge in InPrivate Browsing Mode Using Command Prompt )

Using Microsoft Edge in InPrivate Browsing mode deletes your browsing info when you end the session, doesn’t record your download history, and prevents Bing search from being associated with you.

To launch Edge in InPrivate Browsing mode, open Command Prompt (type “cmd” in Windows Search and select “Command Prompt”) and run this command:

Edge will now launch in InPrivate Browsing mode.

How can i get microsoft edge browser version using registry or command line? I don’t want to take it from UI.

4 Answers 4

You can now choose to sort by Trending, which boosts votes that have happened recently, helping to surface more up-to-date answers.

Trending is based off of the highest score sort and falls back to it if no posts are trending.

For Microsoft Edge Legacy, you can get the version from PowerShell with Get-AppxPackage:

If you want to call this from cmd.exe, you can just call Powershell:

In Windows

The first of all, you need to get the path of the .exe file of the application.

use Get-Item

It is just like Get-AppxPackage . And get the version by adding .VersionInfo .

use wmic

wmic can get the information of the application. And we set the name key for which application you want to check.

And then, filter the result by adding get at the end of command.

In MacOS

use –version

The application is executed from /Applications/”Microsoft Edge.app”/Contents/MacOS/”Microsoft Edge . Therefor, we can command like the bottom.

Run the following command:

Now you just need to extract the version, e.g. the 40.15063.674.0 .

The older answers to this question seem to address Edge Legacy to the exclusion of Edge Chromium (which is now standard). Adding this answer to more fully outline current options targeting Edge Chromium, specifically.

For Windows systems, reading the Edge version from the registry is probably your best bet, since it’s consistent even when the installation path varies. Some command-line for reading the installed version of Edge Chromium from the registry. There are a few options for that.

Using Powershell:

Using Powershell and Windows Script Host:

Using Reg Query:

If you have more than one instance of Edge installed (for example, an Edge Dev Channel build) and you want to get the version of a specific installation, you can access the VersionInfo metadata of the Edge executable.

Using Powershell:

Using the WMIC tool:

(Note that escaping is required when translating the EXE path into the WMI query)

For non-Windows installations, running the binary from your shell with the –version flag seems to be the best bet. Your path may vary.

Ubuntu example:

Mac OSX example:

Especially on Linux installations, where Edge is likely to have been installed using a standard package manager, version querying via package management is also a solid option.

Note that this option does only apply if the Edge installation is under package management, which is pretty uncommon in non-Linux userland.