Share via

Access Microsoft Edge using command line

Anonymous
2020-02-12T19:56:04+00:00

How can the new Edge be launched from the command line? What command line options/switches are there? (e.g. how to launch in private mode or with a particular account)

***Modified title from: Command line options?***

Microsoft Edge | Open the browser | Windows 10

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2020-02-13T10:00:08+00:00

Hi,

Thank you for writing to Microsoft Community Forums.

I appreciate your interest in new Microsoft Edge. I understand that you want to use command line to use Microsoft Edge. Let me help you with the details.

To open Microsoft Edge using Command Prompt refer the steps mentioned below:

  1. Type command prompt in the search bar on the Taskbar.
  2. Right click on the command prompt icon and select Run as administrator.
  3. Type the command start msedge and hit Enter.

To open Microsoft Edge in InPrivate mode, use the command: start msedge –inprivate


To open a website, use the command: start msedgewww.microsoft.com(you can type any website name)

To restore the previous session, use the command: start msedge --restore-last-session

However, if you are a developer, we do have a dedicated forum for Edge developers, let me point you in the right direction. I would suggest you to post your query in Microsoft Tech Community, where you will find developers to assist you with appropriate details.

Regards,

Nikhar Khare

Microsoft Community - Moderator

Was this answer helpful?

40+ people found this answer helpful.
0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2021-03-30T00:03:28+00:00

    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"

    Add a space and a Web site to go directly to that site in Edge:

    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" https://microsoft.com/

    -- Timothy J. McGowan

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-01-22T23:05:46+00:00

    Hello,

    I know how to create a shortcut for Chrome and Firefox using a command line. For example I can add "C:\Program Files (x86)/Internet Explorer\iexplore.exe"  in the "Start In" field under properties and the shortcut will open in Internet Explorer.

    What is the command line in properties for a icon you want to open in Edge?  

    Many thanks!

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-11-05T16:44:13+00:00

    Is there an app mode?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2020-07-08T12:20:40+00:00

    I have installed two Edges, GA and Beta, have how I specify to open the beta and not the GA?

    Was this answer helpful?

    0 comments No comments