|
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.
@ECHO OFF
START http://mail.google.com
START http://mail.yahoo.com
START http://mail.myrealbox.com
EXIT
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.