Command-Line – Option to Open Chrome in New Window and Move Focus

command linegoogle-chrome

The default behavior of running chrome via the command-line:

chrome www.google.com

opens a new tab in an existing instance of chrome and moves the focus from the terminal to the newly created tab.

Adding the new-window switch:

chrome --new-window www.google.com

opens chrome in a new window but does not move the focus.

What options should I use to open a new window but also switch focus to that window?

Note: I'm using Windows 7.

Best Answer

try this one

start chrome /new-window www.google.com

opens google.com in a new instance of chrome.

Related Question