Sign in with
Sign up | Sign in
Your question
Closed

IE: How to open multiple web links with a single shortcut?

Last response: in Windows XP
Share
August 30, 2006 11:13:41 PM

Here's a simple question. I have half a dozen web sites I visit daily and keep open, web mail for instance. Is there a way to make a desktop icon or a batch file that will open multiple links? I tried a batch file with "open www.whatever.com" but it reuses the window for all addresses. Thanks!
October 6, 2006 7:26:24 PM

How about make your batch file entries look like this:

"C:\Program Files\Internet Explorer\iexplore.exe" -new http://whatever url you want here
October 8, 2006 4:16:43 AM

With the following batch file:

"C:\Program Files\Internet Explorer\iexplore.exe" -new http://yahoo.com
"C:\Program Files\Internet Explorer\iexplore.exe" -new http://google.com
etc.

It would wait for the previous window to close and then continue to the next line. However I changed it to:


start iexplore.exe -new http://yahoo.com
start iexplore.exe -new http://google.com

and it worked fine. Thanks for the help!
Related resources
October 11, 2006 6:36:07 PM

If you're running IE 7, you can specify multiple home pages in Internet Options. Each page opens up in a separate tab.
October 18, 2006 2:29:21 AM

that's correct
April 30, 2012 2:20:48 PM

This script did it for me: (thanks to whoever created it!)

var navOpenInBackgroundTab = 0x1000;
var oIE = new ActiveXObject("InternetExplorer.Application");
oIE.Navigate2("http://blogs.msdn.com");
oIE.Navigate2("http://blogs.msdn.com/tonyschr", navOpenInBackgroundTab);
oIE.Navigate2("http://blogs.msdn.com/oldnewthing", navOpenInBackgroundTab);
oIE.Navigate2("http://blogs.msdn.com/ericlippert", navOpenInBackgroundTab);
oIE.Visible = true;

Replace the http links in the above code with yours (create more lines as needed) and save it as whatyouwant.js. Double click it. There you go.

You can place your new .js file in the startup folder to run at startup.
January 25, 2013 4:46:46 PM

This script works to me too, thanks!

But I want to know if we can add to username and password to automatically log in?




ceez38 said:
This script did it for me: (thanks to whoever created it!)

var navOpenInBackgroundTab = 0x1000;
var oIE = new ActiveXObject("InternetExplorer.Application");
oIE.Navigate2("http://blogs.msdn.com");
oIE.Navigate2("http://blogs.msdn.com/tonyschr", navOpenInBackgroundTab);
oIE.Navigate2("http://blogs.msdn.com/oldnewthing", navOpenInBackgroundTab);
oIE.Navigate2("http://blogs.msdn.com/ericlippert", navOpenInBackgroundTab);
oIE.Visible = true;

Replace the http links in the above code with yours (create more lines as needed) and save it as whatyouwant.js. Double click it. There you go.

You can place your new .js file in the startup folder to run at startup.

January 25, 2013 4:49:03 PM

ceez38 said:
This script did it for me: (thanks to whoever created it!)

var navOpenInBackgroundTab = 0x1000;
var oIE = new ActiveXObject("InternetExplorer.Application");
oIE.Navigate2("http://blogs.msdn.com");
oIE.Navigate2("http://blogs.msdn.com/tonyschr", navOpenInBackgroundTab);
oIE.Navigate2("http://blogs.msdn.com/oldnewthing", navOpenInBackgroundTab);
oIE.Navigate2("http://blogs.msdn.com/ericlippert", navOpenInBackgroundTab);
oIE.Visible = true;

Replace the http links in the above code with yours (create more lines as needed) and save it as whatyouwant.js. Double click it. There you go.

You can place your new .js file in the startup folder to run at startup.

:bounce:  wow thanks..
January 27, 2013 12:32:41 AM

ceez38 thanks
!