How set enviornment variables

  • Thread starter Thread starter Don J
  • Start date Start date
D

Don J

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

Associate Expert - WindowsXP Expert Zone

Windows help - www.rickrogers.org
 
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"
 
Yes I have rebooted. I want to permanently add another item to the "Path"
Enviornment variable.

Don J

---------------------------------------------------------------------------
 
Hi,

What are you adding and what does the batch file do?

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Associate Expert - WindowsXP Expert Zone

Windows help - www.rickrogers.org
 
Back
Top