Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > How set enviornment variables

How set enviornment variables

Forum Windows XP : Windows XP General Discussion - How set enviornment variables

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.newusers (More info?)

 

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

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.windowsxp.newusers (More info?)

 

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

Reply to Anonymous

Archived from groups: microsoft.public.windowsxp.newusers (More info?)

 

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

Reply to Anonymous

Archived from groups: microsoft.public.windowsxp.newusers (More info?)

 

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

Reply to Anonymous

Archived from groups: microsoft.public.windowsxp.newusers (More info?)

 

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

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > How set enviornment variables
Go to:

There are 1221 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them