IE6 in New Browser - Command Line Switch

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

Is there a command line switch for IE6 (with XP SP2) to open it in a new
browser window?

Actually I am trying to write a batch file to open my favourite web-sites in
separate browser windows when I come to office (rather than me clicking ten
times on new window and selecting links from favourites).

I have written a batch file but it ONLY opens ONE browser window and opens
ALL web-sites in the same window one after another resulting in showing only
the last web-site in the list.

My batch file looks like:

start "c:\program...\iexplore.exe" http://www.hotmail.com
start "c:\program...\iexplore.exe" http://mail.yahoo.com
start "c:\program...\iexplore.exe" http://news.google.com
pause

Any ideas?
 
Xpert said:
Hi,

Is there a command line switch for IE6 (with XP SP2) to open it in a
new browser window?

Actually I am trying to write a batch file to open my favourite
web-sites in separate browser windows when I come to office (rather
than me clicking ten times on new window and selecting links from
favourites).

I have written a batch file but it ONLY opens ONE browser window and
opens ALL web-sites in the same window one after another resulting in
showing only the last web-site in the list.

My batch file looks like:

start "c:\program...\iexplore.exe" http://www.hotmail.com
start "c:\program...\iexplore.exe" http://mail.yahoo.com
start "c:\program...\iexplore.exe" http://news.google.com
pause

Any ideas?

Ctrl-N

--
Frank Saunders, MS-MVP, IE/OE
Please respond in Newsgroup only. Do not send email
http://www.fjsmjs.com
Protect your PC
http://www.microsoft.com/security/protect/
 
Hi,
I think this is not exactly what you're looking for, but...

Is "Reuse windows for launching shortcuts" unchecked in Internet Options>
Advanced?

Or, you can modify each Internet Shortcut to open a new instance of IE.
Find "IExplore.exe" (probably in Program Files\Internet Explorer)
Right-click and drag IExplore.exe to the desktop and choose "Create
shortcut." Right-click that shortcut> Properties> Target, modify the Target
to include the URL.
Example:
"C:\Program Files\Internet Explorer\IEXPLORE.EXE"
becomes
"C:\Program Files\Internet Explorer\IEXPLORE.EXE" www.yahoo.com
Note a space between EXE" and ww
Rename the shortcut if desired.

Or, it should also work to start with a target of www.yahoo.com then add the
path to IEXPLORE.EXE

That should always open a new instance of IE for that shortcut.

Don
 
Xpert said:
Hi,

Is there a command line switch for IE6 (with XP SP2) to open it in a new
browser window?

Actually I am trying to write a batch file to open my favourite web-sites in
separate browser windows when I come to office (rather than me clicking ten
times on new window and selecting links from favourites).

I have written a batch file but it ONLY opens ONE browser window and opens
ALL web-sites in the same window one after another resulting in showing only
the last web-site in the list.

My batch file looks like:

start "c:\program...\iexplore.exe" http://www.hotmail.com
start "c:\program...\iexplore.exe" http://mail.yahoo.com
start "c:\program...\iexplore.exe" http://news.google.com
pause

Any ideas?


Try adding the -new switch?

<title>KB178058 - INFO: Command-Line Switches for Internet Explorer 4.0</title>


Alternatively the start command seems to have additional options
which might be used to induce a similar result...
(press Win-F1 and enter "start command"
or enter start /? in a command window)


---
 
Well, thanks for the tip. It certainly helped me by tweaking it a little bit.

I have now created the links as you suggested and am now calling those links
in the batch file. So that I only have to run it once and can even put it in
my startup. Being lazy, I do not want to save some clicks :)

My batch file looks like this now:

"C:\Documents...\Desktop\Web\hotmail.lnk"
"C:\Documents...\Desktop\Web\yahooMail.lnk"

Thanks again.

Best regards,

Xpert
 
Hi Robert,

Thanks for the tip although it seems that the -new switch is NOT available
in IE6 or so.

Also the command line switches for start command didn't help. May be I am
not putting the right switches.

However, we have solved the problem and if you are interested to know it,
kindly see the post of Don and my reply to it.

Thanks again.

Xpert
 
Hello Don or Xpert:

This thread is similar to what I'm looking for, however I'm not an HTML
programmer. I am publishing an excel file to the web using the Excel
Publishing feature - works great. However, I have links within the
spreadsheet that I'd like to open a NEW browser window when the link is
selected from the published Excel browser window? Make sense? In other words,
when a link is selected from the published Excel browser window, I don't want
it to replace the Excel browser window, but open a new window.

Is there a command I can append to the URL in the Excel field so that a new
browser window will open when selected? I've looked at a web page that opens
a new browser window when a certain link is selected and it has the following
format: <a href="http://www.yahoo.com" TARGET="_Top">, however I don't know
how to embed this type of command in Excel...

Thank you ahead of time.

Hal
 
....
Is there a command I can append to the URL in the Excel field so that a new
browser window will open when selected? I've looked at a web page that opens
a new browser window when a certain link is selected and it has the following
format: <a href="http://www.yahoo.com" TARGET="_Top">, however I don't know
how to embed this type of command in Excel...


Seems like a question better asked in a newsgroup which specializes in Excel.


---
 
Thank you Robert... unfortunately I have tried twice and not received any
feedback. It seems like a simple question, but perhaps not.
 
....
Thank you Robert... unfortunately I have tried twice and not received any
feedback. It seems like a simple question, but perhaps not.


I really don't know. Can you treat it as a scripting exercise?
If so, perhaps you should ask in a scripting newsgroup?
Also then you could try duplicating the the scripting you
can see in some web pages in order to feature popup windows.
Etc.


Good luck

Robert
---
 
Back
Top