How to Open Chrome Browser from Command Line

How to Open Chrome Browser from Command Line – Chrome browser can be opened from command prompt bt executing the command start chrome

How to Open Chrome Browser from Command Line

 

How to Run Command for Chrome –

Chrome can be opened from Run window by executing the command.chrome

Note that the run command is chrome whereas the CMD command is start chrome

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 –

Use the commandrunas 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" ...

How to Open a Website in Chrome browser from Command Prompt –

A website can be opened from the command line by specifying the URL of the website.

start chrome www.windows-commandline.com

How to Run command for Chrome to Open a Website –

Run the command to open a chrome websiteUrl website in chrome.

Let Know – 
How to Manage Print Jobs from Command Line

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.