Setting Path Variables?

  • Thread starter Thread starter Agent Smith
  • Start date Start date
A

Agent Smith

What command do I use to set a path variable under XP Pro? I've got a book
that says I should go to Control Panel>Administrative Tools>Computer
Management, but that's where the trouble starts. From there it tells me to
go to Computer Management>Properties>Advanced, but I can't find the first
step along that sequence, and all of the Properties>Advanced that I can
find are the wrong ones. I suspect that the author was talking about a
different version of windsow. How do I do it under XP Pro?
 
Agent Smith said:
From there it tells me to
go to Computer Management>Properties>Advanced, but I can't find the first

It's telling you to right mouse click on "Computer Management (Local)" at
the top, then click Properties - click Advanced (tab).

Another way to get there:
Right mouse click My Computer
Click Properties
Click Advanced (tab)
Click Environment Variables button
Look for "Path" variable under System Variables
 
Agent said:
What command do I use to set a path variable under XP Pro? I've got a book
that says I should go to Control Panel>Administrative Tools>Computer
Management, but that's where the trouble starts. From there it tells me to
go to Computer Management>Properties>Advanced, but I can't find the first
step along that sequence, and all of the Properties>Advanced that I can
find are the wrong ones. I suspect that the author was talking about a
different version of windsow. How do I do it under XP Pro?

Right click My Computer > Properties > Advanced > Environment Variables

Make sure you know what you're doing.

--
Lem -- MS-MVP

To the moon and back with 2K words of RAM and 36K words of ROM.
http://en.wikipedia.org/wiki/Apollo_Guidance_Computer
http://history.nasa.gov/afj/compessay.htm
 
John said:
It's telling you to right mouse click on "Computer Management (Local)"
at the top, then click Properties - click Advanced (tab).

Sorry, I meant to say "Computer Management (Local)" but on my machine, that
choice doesn't appear under "Computer Management." Are you sure that we're
both talking about XP-Pro, and if so, what would make it go away?
 
Right click My Computer > Properties > Advanced > Environment
Variables

Make sure you know what you're doing.

What file stores the line of code, after I edit it like that?
 
Agent Smith said:
Sorry, I meant to say "Computer Management (Local)" but on my machine,
that
choice doesn't appear under "Computer Management."

What choice?
Are you sure that we're both talking about XP-Pro

I'm using XP Pro. The instruction I gave you was based on XP Pro.
and if so, what would make it go away?

Make what go away?
 
John said:
What choice?

The choice to click "Computer Management (Local)."
I'm using XP Pro. The instruction I gave you was based on XP Pro.


Make what go away?

Whatever it is I'm supposed to click on that says "Computer Management
(Local)."
 
I'm guessing your PC may have a system policy that prevents anyone from
making changes to the system settings. Therefore you can't see what you're
looking for.
 
John said:
I'm guessing your PC may have a system policy that prevents anyone
from making changes to the system settings. Therefore you can't see
what you're looking for.

I own the PC, and I set the policy.
 
First ignore what that book said,

Winkey+Pause key
Advanced Tab
Environment variables
Scroll to "Path" and Edit it.

It's stored in the registry in "PATH" at
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment
 
First ignore what that book said,

Winkey+Pause key
Advanced Tab
Environment variables
Scroll to "Path" and Edit it.

It's stored in the registry in "PATH" at
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session
Manager\Environment

It looks questionable to me. There's nothing in the PATH variable now
except a pointer to the system directories, but I would have expected it
to be full of all sorts of crap. Is this the preferred way to do it,
for compiling java programs, or is there a more advanced way to go about
it?
 
Agent said:
It looks questionable to me. There's nothing in the PATH variable now
except a pointer to the system directories, but I would have expected it
to be full of all sorts of crap. Is this the preferred way to do it,
for compiling java programs, or is there a more advanced way to go about
it?

That answered the question you asked. In light of the additional
information, I'd suggest you use the settings in your Java compiler instead.
 

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

Back
Top