Chrome/Firefox – Open Multiple Tabs from Command/Batch File

 

KB ID 0000713 

Problem

I know all modern browsers can open multiple ‘Home Pages’ at startup, but that’s not what I wanted. There are a few tech sites that I visit once a day, and they are all in my bookmarks. I tediously click each one to visit these sites. So I thought ‘There must be a way of opening all these sites, at once, from a batch file or a single command?”

I use Chrome as my browser of choice, so I worked out how to do it, then I thought “I wonder if Firefox will do the same?” (it will). Finally for completeness I thought I would do the same for Internet Explorer, and lost the will to live! (That’s why it’s not included in this article).

Solution

Open Multiple Sites in Chrome from command.

The command is as follows;

“C:Program Files (x86)GoogleChromeApplicationchrome.exe” “http://www.petenetlive.com/” “http://www.it-ps.com/” “http://www.microsoft.com/” “http://www.vmware.com/” “http://www.cisco.com/”

For older versions of Chrome, the path to chrome.exe is different.

%userprofile%AppDataLocalGoogleChromeApplicationchrome.exe “http://www.petenetlive.com/” “http://www.it-ps.com/” “http://www.microsoft.com/” “http://www.vmware.com/” “http://www.cisco.com/”

Simply keep adding URL’s in quotes for extra tabs.

chrome open mutiple tabs via command

Open Multiple Sites in Firefox from command.

The command is as follows;

“%programfiles(x86)%Mozilla Firefoxfirefox.exe” “http://www.petenetlive.com/” “http://www.it-ps.com/” “http://www.microsoft.com/” “http://www.vmware.com/” “http://www.cisco.com/”

Simply keep adding URL’s in quotes for extra tabs.

firefox open mutiple tabs via command

Related Articles, References, Credits, or External Links

Original article written 15/11/12

Author: Migrated

Share This Post On