batch file question

Discussion in 'Windows Desktop Systems' started by Perris Calderon, Jan 4, 2005.

  1. Perris Calderon

    Perris Calderon Moderator Staff Member Political User

    Messages:
    12,332
    Location:
    new york
    I created a batch file for a bunch of programs I only want running when I' on the internet

    this is it;

    Code:
    @echo off
    start "cookie wall" "C:\Program Files\AnalogX\CookieWall\cookie.exe" /B
    
    start "internet explorer" "http://www.osnn.net/forum/search.php?do=getnew /B
    
    start "star downloader" "C:\Program Files\Star Downloader\stardown.exe" /B
    
    start "clip trak" "C:\Program Files\ClipTrak\ClipTrak.exe" /B
    
    start "ad watch" "C:\Program Files\Lavasoft\Ad-Aware SE Plus\Ad-Watch.exe" /B
    everything works perfectly, EXCEPT;

    the internet browser laucnhes, claims it found osnn, then it says it's finnished, and yet the page is blank...I refresh does the same thing

    however, if I hit the home page button, the site loads like normal.

    any ideas?
     
  2. NetRyder

    NetRyder Tech Junkie Folding Team

    Messages:
    13,256
    Location:
    New York City
    When I run that line, it opens up a new tab in my Firefox window (since Fx is set as my default browser), but it does the same thing - blank page. Looking at the location/address box, it seems like the /B option gets tagged onto the end of the URL.
    Try changing the line to:
    Code:
    start /B "internet explorer" "http://www.osnn.net/forum/search.php?do=getnew"
     
  3. Perris Calderon

    Perris Calderon Moderator Staff Member Political User

    Messages:
    12,332
    Location:
    new york
    giving that a go
     
  4. Perris Calderon

    Perris Calderon Moderator Staff Member Political User

    Messages:
    12,332
    Location:
    new york
    ya, that works...since there's no break, I made the browser the last line.

    cool
     
  5. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    if you are going to delete my posts, you could atleast PM me why