Almo
Almo

Reputation: 15861

How do I start Edge from the command line with an argument for URL but open it in a new window?

I'm using start microsoft-edge:https://www.myURL.ca to open an Edge browser from CMD. The problem is that I'd like to open it in a new window.

I found the "--new-window" argument which can be used from a structure passed in via C#, but I'm not able to figure out how to get that argument to Edge from CMD.

Upvotes: 1

Views: 7448

Answers (1)

Deepak-MSFT
Deepak-MSFT

Reputation: 11335

You could use the command below will help you launch the MS Edge browser new windows from CMD.

start msedge www.microsoft.com --new-window

Output:

enter image description here

In the test result, you could notice that there is an existing Edge window. when we run the command it opens a new Edge window.

Upvotes: 5

Related Questions