How set enviornment variables

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

Rick \Nutcase\ Rogers

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
 
M

Maurice N ~ MVP

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"
 
D

Don J

Yes I have rebooted. I want to permanently add another item to the "Path"
Enviornment variable.

Don J

---------------------------------------------------------------------------
 
R

Rick \Nutcase\ Rogers

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top