Yes. And it would stick forever. That's the point of the /u and /s environments; they're saved and reinstated upon login or restart (respectively). Change it and the new one will be remembered until you change it again. All users get the variables assigned with /S; **you** get (at login) the ones assigned with /U. I wouldn't even bother with the /S environment (you wouldn't even see your shortcuts if you logged in as another user). If you want to see where these are saved, use REGEDIT.EXE and navigate to HKEY_CURRENT_USER\Environment and to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment. When you login, the two environments are merged and become the environment of the shell (Explorer). All processes are free to mess with their own environment (as with SET var=value); these changes are propagated to child processes but no up to parent processes.Vince, so then I could have a btm file to set the variable that reads
"SET /U LFMBROWSER=some-browser"
and then the shortcut to any specific link would just read "LFMBROWSER http://somewhere.com"?
It would "stick" as long as I was logged in? I wouldn't need to worry about system assignments? I wouldn't have to unset any previous assignment?
Then I could either assign the variable and then use "LFMBROWSER http://somsite.com" as the site shortcut, and control the browser with the one-line SET /U assignment?
I wouldn't have to differentiate between system and personal variables or anything else?