How set enviornment variables
Don J
07-10-2005, 01:47 AM
I am using Windows XP. how do I set an enviornment variable permanently?
I've gone to System Icon in control panel, advanced tab, and I pushed the
"Enviornment Variables" push button. I've added a new path in the lower
"System variables" Window. I clicked a batch file and it didn't run. To
make sure I wasn't misspelling someting I repeated everything with a batch
file residing in C:\.
Rick \Nutcase\ Rogers
07-10-2005, 01:47 AM
Hi,
Have you rebooted since setting the environmental variable?
What did you set? and where?
More detail on what you are trying to do might help get you a better answer.
--
Best of Luck,
Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Associate Expert - WindowsXP Expert Zone
www.microsoft.com/windowsxp/expertzone
Windows help - www.rickrogers.org
"Don J" <dej8800@comcast.com> wrote in message
news:IvWdnaCEsf4XTzHfRVn-qg@comcast.com...
>I am using Windows XP. how do I set an enviornment variable permanently?
>
> I've gone to System Icon in control panel, advanced tab, and I pushed the
> "Enviornment Variables" push button. I've added a new path in the lower
> "System variables" Window. I clicked a batch file and it didn't run. To
> make sure I wasn't misspelling someting I repeated everything with a batch
> file residing in C:\.
>
>
Maurice N ~ MVP
07-10-2005, 01:47 AM
Use Notepad to open & view contents of C:\Windows\system32\autoexec.nt
(note your Windows may be at folder \WINNT instead of \Windows)
Verify your path statement is correct.
Using Program Information Files (PIF) (like we used to use in Win9x/Me) is a good idea.
Bring up Help and Support (from the XP menus). Search on "create custom startup files for an MS-DOS-based program".
First, setup a shortcut to the program. Then go thru the "properties" of shortcut to specify what it needs.
Look up in XP's Help and Support Center, in its search box:
"Set up two shortcuts for an MS-DOS program "
"Create or change a PIF"
--
Maurice N
MVP Windows - Shell / User
-----
Don J wrote:
> I am using Windows XP. how do I set an enviornment variable
> permanently?
>
> I've gone to System Icon in control panel, advanced tab, and I pushed
> the "Enviornment Variables" push button. I've added a new path in
> the lower "System variables" Window. I clicked a batch file and it
> didn't run. To make sure I wasn't misspelling someting I repeated
> everything with a batch file residing in C:\.
Don J
07-10-2005, 01:47 AM
Yes I have rebooted. I want to permanently add another item to the "Path"
Enviornment variable.
Don J
---------------------------------------------------------------------------
"Rick "Nutcase" Rogers" <rick@mvps.org> wrote in message
news:eK6kk77bFHA.2420@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> Have you rebooted since setting the environmental variable?
> What did you set? and where?
>
> More detail on what you are trying to do might help get you a better
> answer.
>
> --
> Best of Luck,
>
> Rick Rogers, aka "Nutcase" - Microsoft MVP
> http://mvp.support.microsoft.com/
> Associate Expert - WindowsXP Expert Zone
> www.microsoft.com/windowsxp/expertzone
> Windows help - www.rickrogers.org
>
> "Don J" <dej8800@comcast.com> wrote in message
> news:IvWdnaCEsf4XTzHfRVn-qg@comcast.com...
>>I am using Windows XP. how do I set an enviornment variable permanently?
>>
>> I've gone to System Icon in control panel, advanced tab, and I pushed the
>> "Enviornment Variables" push button. I've added a new path in the lower
>> "System variables" Window. I clicked a batch file and it didn't run. To
>> make sure I wasn't misspelling someting I repeated everything with a
>> batch file residing in C:\.
>>
>>
>
>
Rick \Nutcase\ Rogers
07-10-2005, 01:47 AM
Hi,
What are you adding and what does the batch file do?
--
Best of Luck,
Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Associate Expert - WindowsXP Expert Zone
www.microsoft.com/windowsxp/expertzone
Windows help - www.rickrogers.org
"Don J" <dej8800@comcast.com> wrote in message
news:iNmdndr3OqSicTDfRVn-uQ@comcast.com...
> Yes I have rebooted. I want to permanently add another item to the "Path"
> Enviornment variable.
>
> Don J
>
> ---------------------------------------------------------------------------
> "Rick "Nutcase" Rogers" <rick@mvps.org> wrote in message
> news:eK6kk77bFHA.2420@TK2MSFTNGP12.phx.gbl...
>> Hi,
>>
>> Have you rebooted since setting the environmental variable?
>> What did you set? and where?
>>
>> More detail on what you are trying to do might help get you a better
>> answer.
>>
>> --
>> Best of Luck,
>>
>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>> http://mvp.support.microsoft.com/
>> Associate Expert - WindowsXP Expert Zone
>> www.microsoft.com/windowsxp/expertzone
>> Windows help - www.rickrogers.org
>>
>> "Don J" <dej8800@comcast.com> wrote in message
>> news:IvWdnaCEsf4XTzHfRVn-qg@comcast.com...
>>>I am using Windows XP. how do I set an enviornment variable permanently?
>>>
>>> I've gone to System Icon in control panel, advanced tab, and I pushed
>>> the "Enviornment Variables" push button. I've added a new path in the
>>> lower "System variables" Window. I clicked a batch file and it didn't
>>> run. To make sure I wasn't misspelling someting I repeated everything
>>> with a batch file residing in C:\.
>>>
>>>
>>
>>
>
>
How set enviornment variables