Opening Multiple Browsers at Once

Yesterday I had posted about Opening Multiple Files using a Batch File. A user mailed me asking if it was possible to open multiple browsers at once using the same technique. The answer is Yes and here’s how to do so:

Open Notepad and copy and paste the following lines below:

@echo off
Start "IE" "C:\Program Files\Internet Explorer\iexplore.exe"
Start “Firefox” "C:\Program Files\Mozilla Firefox\firefox.exe"
Start "Chrome" "C:\Users\Suprotim\AppData\Local\Google\Chrome\Application\chrome.exe"
Start "Safari" "C:\Program Files\Safari\safari.exe"

Save the notepad file with the .bat extension. Now to open all these browsers at once, just execute the .bat file by double clicking it

Note: To know the location of the browser .exe on my machine, I used a simple technique of checking the properties of the browser shortcut and copying the path from the ‘Target’ field. For example: Here’s how the path of the Internet Explorer (IE) .exe can be obtained


Will you give this article a +1 ? Thanks in advance

About The Author

Suprotim Agarwal
Suprotim Agarwal, ASP.NET Architecture MVP (Microsoft Most Valuable Professional) works as an Architect Consultant and provides consultancy on how to design and develop Web applications.

Suprotim is also the founder and primary contributor to DevCurry, DotNetCurry and SQLServerCurry. He is the Editor of a Developer Magazine called DNC Magazine. He has also written two EBooks 51 Recipes using jQuery with ASP.NET Controls. and The Absolutely Awesome jQuery CookBook

Follow him on twitter @suprotimagarwal

No comments: