Jump to content

Storing enviornment variables


Recommended Posts

Guest laredotornado
Posted

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

  • Replies 2
  • Created
  • Last Reply

Popular Days

Guest R. McCarty
Posted

Re: Storing enviornment variables

 

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...

> 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

Guest Big_Al
Posted

Re: Storing enviornment variables

 

laredotornado wrote:

> 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

 

Right click "my computer" -> Properties -> Advanced -> Environment

Variables.


×
×
  • Create New...