The World’s Leading Microsoft .NET Magazine
   
 
timstall

Donate Today!

Search Box

 

Calendar

««Jul 2008»»
SMTWTFS
  
1
2
3
4
5
67
8
9
10
1112
13
14
15
16
17
18
19
202122
23
24
25
26
2728293031

My RSS Feeds








Mailing List

Most Popular Tags

                                                           

Open up multiple tabs in IE7 from the command line

posted Friday, 10 August 2007

I had a need to regularly view a quick collection of web pages, somewhat like a dashboard. Rather than manually click a bunch of links from my favorites, I just wanted a single click to open all the pages. I know that you can automate IE from the command line to open a single tab, like so:

 

"%ProgramFiles%\Internet Explorer\iexplore" http://www.msdn.com
 

... but I needed to open several tabs. I could then repeat this line multiple times, but that just opened multiple instances of IE instead of a single instance with multiple tabs.

 

MSDN blogger Tony Schreiner had a perfect solution using Windows Script Host (WSH). You can just have a single script open multiple tabs within a single IE instance, and then call that script with one click from the command line.


Living in Chicago and interested in working for a great company? Check out the careers at Paylocity.

 

tags:  

links: digg this    technorati    




1. Geser left...
Thursday, 17 January 2008 5:30 am

@ECHO OFF START http://mail.google.com START http://mail.yahoo.com START http://mail.myrealbox.com EXIT


2. Shawn K. Hall left...
Wednesday, 11 June 2008 11:50 pm

It's much easier to just create a folder in your favorites, placing all of the pages you want to open within the folder. Then click the 'green arrow' next to the folder when you want to open ALL of the URLs within the same browser window, in different tabs.