Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open multiple Microsoft Edge windows from batch file

I need to open 2 Edge windows from a batch file (not two tabs, 2 windows). I know I can launch edge using the following command:

start microsoft-edge:

But if I try it twice the second command does nothing. If I try it with URLs I get 2 tabs in the same window. e.g.

start microsoft-edge:http://google.com
start microsoft-edge:http://bing.com

Any ideas how to get 2 separate windows?

like image 832
Darren Avatar asked Jun 24 '26 01:06

Darren


1 Answers

Use --new-window option:

start msedge http://google.com
start msedge --new-window http://bing.com
like image 190
Arun Avatar answered Jun 25 '26 20:06

Arun



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!