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

cmd, google-chrome, windows

Solution

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)

Problem

I tried this command from the cmd prompt: ``` start "c:\program files (x86)\google\chrome\application\chrome.exe" --new-window "http://localhost:8080:/debug?port=5858" ``` and I get "windows can not find '--new-window' If I remove the start command, it works fine. If I leave the start command but remove the --new-window parm then the url is opened in my default browser (ie). I've tried several variations of the above but can't get it to work. What is the correct syntax for the start command to open chrome with the given url in a new window?

Original source

Related problems