Tech Support > Microsoft Windows > Storing enviornment variables
Storing enviornment variables
Posted by laredotornado on July 2nd, 2008


Hi,

I am running Windows XP. I was curious where I can store environment
variables so that they can be stored the next time I boot my
computer. Currentlyi, if I go to the Start Menu, click "Run" I can
type

set MYVAR=abcde

echo %MYVAR%

at the command line. However, when I close the command window and re-
open it, the value of MYVAR is not stored. Where can I put this such
that it is stored permanently?

Thanks, - Dave

Posted by R. McCarty on July 2nd, 2008


System Properties, Advanced (TAB), Environment Variables
[Button] - Choose either User Profile specific or System Wide
variable and click Add.

"laredotornado" <laredotornado@zipmail.com> wrote in message
news:d3b41cca-21ce-4cb7-bc8a-45daa7de8984@l64g2000hse.googlegroups.com...


Posted by Big_Al on July 2nd, 2008


laredotornado wrote:
Right click "my computer" -> Properties -> Advanced -> Environment
Variables.