Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What command line options can I use for opening multiple tabs in IE 8 from the command prompt or a .bat file? I've tried the URLs separated by "", commas, <> and |, but nothing has worked.

share|improve this question

AFAIK IE doesn't support multiple URLs as command-line parameters. You can invoke it multiple times with a single URL each from a batch file or something, but that seems to open separate windows. For launching multiple URLs in tabs in a single IE window, use the following script:

var navOpenInBackgroundTab = 0x1000;
var objIE = new ActiveXObject("InternetExplorer.Application");
objIE.Navigate2("", navOpenInBackgroundTab);
objIE.Navigate2("", navOpenInBackgroundTab);
objIE.Visible = true;

Save as StartIE.js, then either double-click in Windows Explorer, or use wscript.exe StartIE.js at the command prompt to launch.

share|improve this answer
Thanks for the info KARAN. – srikanth Dec 3 '12 at 12:11
You're welcome! Since you're new here, don't forget to accept whichever answer (if there are multiple) best solves your issue. – Karan Dec 3 '12 at 15:12
Cheers - works for me – Umber Ferrule Dec 6 '13 at 11:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .