Open chrome in windows from the command line in a new window Open chrome in windows from the command line in a new window windows windows

Open chrome in windows from the command line in a new window


Answer is there : Using the "start" command with parameters passed to the started program

start "" "c:\program files (x86)\google\chrome\application\chrome.exe" --new-window "http://localhost:8080:/debug?port=5858"

(add empty title parameter at the beginning of the line)


In Windows 10, following command works:

start chrome --new-window "https://www.facebook.com"

This works perfectly in cmd.


Try to put this in a batchfile, then you can play with size and position to:

start "" "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --new-window "http://brianp.dk/" --window-size="2560,1000" --window-position="0,0" --user-data-dir="D:/Test/Profiles/1"start "" "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --new-window "http://borsen.dk/" --start-maximized --window-position="2560,000" --user-data-dir="D:/Test/Profiles/2"start "" "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --new-window "http://penge.dk/" --window-size="1280,1000" --window-position="0000,1000" --user-data-dir="D:/Test/Profiles/3"