1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I'm losing it somewhere...

Discussion in 'Support' started by CWBillow, Aug 17, 2012.

  1. CWBillow

    Joined:
    Jul 12, 2008
    Messages:
    194
    Likes Received:
    0
    I have two btm files, one to set the browser variable, and one to utilize same.

    the two I have at the moment are

    SET /S LFMBROWSER=C:\Users\CWBillow\AppData\Local\Google\Chrome\Application\chrome.exe

    %LFMBROWSER% http://www.last.fm/listen/artist/Lonestar/similarartists

    So why, when I start the second one, does it call Opera as the browsers instead of Chrome????

    G-R-R-R-R....

    Chuck Billow
     
  2. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,783
    Likes Received:
    29
    Because when you "SET /S" you're not setting anything in the current process's environment (where %LFMBROWSER% exists). If you want to affect the current process's environment, use "SET /S /E".
     
  3. CWBillow

    Joined:
    Jul 12, 2008
    Messages:
    194
    Likes Received:
    0
    Ah...thanks Vince!

    Chuck
     

Share This Page