Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

I'm losing it somewhere...

Jul
316
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
 
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".
 
Back
Top
[FOX] Ultimate Translator
Translate