Chrome browser can be opened from command prompt by executing the command
Note that the run command is
chrome whereas the CMD command is
C:\>chrome 'chrome' is not recognized as an internal or external command, operable program or batch file.
However, you can make it work from CLI too by adding the chrome installation folder to the PATH environment variable. The installation path is
"c:\Program Files (x86)\Google\Chrome\Application". You can add this folder to the path by following the instructions from How to set path
How to open Chrome as a different user
runas command to start chrome with the credentials of another user.
C:\Users\user1>runas /user:user2 "C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe"
To start chrome as administrator of the system
C:\Users\user1>runas /user:administrator "C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe" Enter the password for administrator: Attempting to start C:\Program Files (x86)\Google\Chrome\Application\Chrome.exe as user "MYPC\administrator" ...
Open a website in Chrome browser from command prompt
A website can be opened from command line by specifying the URL of the website.
start chrome www.windows-commandline.com