How to open Chrome or Firefox using command line in Windows 10

The Windows Club

Of course, you can use the usual methods to do what we’re going to talk about in this post; but just in case you want to know how to use the command line to open Google Chrome or Mozilla Firefox and perform related tasks, this message will help you. The most important thing about the command prompt is that it can perform almost any task in a simple and efficient manner. In this guide, you will see how to open Chrome or Firefox using Command Prompt and Windows PowerShell.

Open Chrome or Firefox using the command prompt or PowerShell

In this article, we will cover the following topics:

  1. Open Chrome / Firefox using the command prompt
  2. Launch Chrome / Firefox as administrator
  3. Open Chrome / Firefox in incognito mode
  4. Open a specific URL directly
  5. Open Chrome / Firefox using PowerShell.

Let’s see how to do it. Although we took the example of Chrome, you can use the same commands. Just replace chromium with Firefox.

1]Open Chrome using the command prompt

In order to launch the Chrome browser using a command line, you must open the command prompt on your Windows 10. Once it opens, type the following command and press Enter.

start chrome

Pressing the Enter key will open the Google Chrome browser on your screen.

2]Open Chrome as an administrator

Using this tool, you can also launch the Chrome browser as an administrator.

Open the command prompt and type the following parameter:

runas /user:administrator “C:Program Files (x86)GoogleChromeApplicationChrome.exe

Open Chrome or Firefox using the command prompt or PowerShell

Press the Enter key to execute the command line. The system will now ask you to enter the administrator password for your device. So type in the password and hit enter.

3]Open Chrome in incognito mode

In Google Chrome, you can use incognito mode to add a layer of protection to your browsing data. It protects your information from being accessed without your permission. So to open Chrome in incognito mode, you need to open the command prompt and run the command below:

Start chrome /incognito

Open Chrome in incognito mode

Chrome will now launch in incognito mode.

4]Go directly to a specific website

If you want to open a site in the Chrome browser using the command prompt, you can do so by running the following command. Here is the following command:

start chrome www..com.

So if you have to go to thewindowsclub.com directly, you must execute the following command:

start chrome www.thewindowsclub.com

Open Google Chrome using the command prompt

Additionally, you can navigate to a specific website in incognito mode by executing the given command. These are:

start chrome /incognito www.thewindowsclub.com
Open Google Chrome using the command prompt

5]Open Chrome using the PowerShell command

To launch the Chrome browser using the PowerShell script, you must first open Windows PowerShell. To do this, click on the Start button and type PowerShell. At the top of the result, select Windows PowerShell.

Once it opens, type the following commands and press Enter to launch Google Chrome.

Start-Process -FilePath 'C:Program Files (x86)GoogleChromeApplicationchrome.exe'

Open Chrome using the PowerShell command

For Firefox, you must use the path to your installation folder. The command would therefore be:

Start-Process -FilePath 'C:Program FilesMozilla Firefoxfirefox.exe'

That’s all. I hope you find this guide useful.

Leave a Reply