Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Open several links in internet explorer tabs from batch  (Read 28529 times)

0 Members and 1 Guest are viewing this topic.

joris

    Topic Starter


    Greenhorn

    Open several links in internet explorer tabs from batch
    « on: July 19, 2008, 09:33:05 AM »
    Using IE7 as the default browser, the following code gets me interesting results:

    start www.google.nl
    start www.nu.nl
    start www.symbaloo.nl
    start www.ad.nl

    Execution will open IE, sometimes showing the four websites in four tabs, sometimes, showing three, sometimes only www.ad.nl ... I feel www.google.nl is loaded but then replaced by www.nu.nl

    As a solution, I've tried starting internet explorer without a parameter and then afterwards using start, but then I end up with the first tab being my default homepage.

    The following code will get me to open several websites in seperate windows:

    start /max /b call "C:\Program Files\Mozilla Firefox\firefox.exe" www.google.nl
    start /max /b call "C:\Program Files\Mozilla Firefox\firefox.exe" www.nu.nl
    ...

    But I really want to open several websites in tabs, and make sure they all open! Who can explain and help me?

    kevinwhited

    • Guest
    Re: Open several links in internet explorer tabs from batch
    « Reply #1 on: August 01, 2008, 09:05:43 AM »
    i had the same problem this is how you fix it:

    @echo off
    start iexplore www.google.nl
    ping localhost -n 2 > nul
    start www.nu.nl
    ping localhost -n 2 > nul
    start www.symbaloo.nl
    ping localhost -n 2 > nul
    start www.ad.nl


    the "ping localhost -n 2 > nul" is just a harmless timer so that all the pages have time to open..

    i hope that helped!

    joris

      Topic Starter


      Greenhorn

      Re: Open several links in internet explorer tabs from batch
      « Reply #2 on: September 08, 2008, 01:41:00 PM »
      Thanks kevinwhited! Works perfectly.