Searching \ for '[OT] Changing the PATH variable in Windows XP' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=changing+path+variable
Search entire site for: 'Changing the PATH variable in Windows XP'.

Exact match. Not showing close matches.
PICList Thread
'[OT] Changing the PATH variable in Windows XP'
2006\01\04@154347 by Bill Kuncicky

picon face
I recently downloaded and installed the student version of the C30
compiler (and also the C18 compiler) on my Windows XP computer.  One of
the questions asked during the installation was whether or not I wanted
it to set the PATH variables, and I said yes.

Now, when using the command-line windows, I cannot use commands such as
"edit."  I checked the PATH variable, and things look ok, but something
is wrong because it is not checking C:\WINDOWS\SYSTEM32 which is where
the edit.com program is.  (I  cannot access any of  those programs, in
fact, such as ping).

Does anyone know how to change the PATH variable?  I know that you can
do a "set PATH=" while in the command-line window, but that disappears
when you exit the window.  I need to change it in a registry somewhere,
I suspect.  I tried Windows Help and they said to go to the control
panel->system->advanced and change the environmental variable PATH.  I
tried that, and it didn't change anything.  Also tried to find something
on Google, and couldn't.  It certainly does seem to be a well kept secret.

Thanks,
Bill

2006\01\04@155827 by John Pfaff

picon face
Control Panel
System
Select the "Advanced" tab
At the bottom is a button labeled "Environment Variables"
There may already be a path for both user and system.
Add C:\WINDOWS\SYSTEM32 to either one.


Bill Kuncicky wrote:

{Quote hidden}

2006\01\04@160621 by John Nall

picon face
John Pfaff wrote:
> Control Panel
> System
> Select the "Advanced" tab
> At the bottom is a button labeled "Environment Variables"
> There may already be a path for both user and system.
> Add C:\WINDOWS\SYSTEM32 to either one.
>  
Yeah, that was what I thought, also, because the Windows Help indicated
that.  But I tried it -- set the PATH to something very simple (just
C:\WINDOWS\SYSTEM32) using Edit, clicked OK.   Then restarted the
computer.  But when I brought up the command-line window and typed PATH
nothing had changed.  All the MCC18 stuff was still in there, and such
commands as edit and ping still do not work.  That is why I asked for
advice -- it has me puzzled that the way Microsoft says to do it
apparently does not work.  One thing I noticed was that the "apply"
button was gray (not active), but I am a system administrator on my
computer and should have all the permissions that I need to change anything.

Bill

2006\01\04@160700 by Mark Chauvin

picon face
It should "stick" if you put it in control panel.  I
think it's in the registry too, under this key:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment]

try that
-Mark

--- Bill Kuncicky <spam_OUTkuncickyTakeThisOuTspamgmail.com> wrote:

{Quote hidden}

> --

2006\01\04@160756 by William Couture

face picon face
On 1/4/06, Bill Kuncicky <.....kuncickyKILLspamspam@spam@gmail.com> wrote:
> I recently downloaded and installed the student version of the C30
> compiler (and also the C18 compiler) on my Windows XP computer.  One of
> the questions asked during the installation was whether or not I wanted
> it to set the PATH variables, and I said yes.
>
> Now, when using the command-line windows, I cannot use commands such as
> "edit."  I checked the PATH variable, and things look ok, but something
> is wrong because it is not checking C:\WINDOWS\SYSTEM32 which is where
> the edit.com program is.  (I  cannot access any of  those programs, in
> fact, such as ping).
>
> Does anyone know how to change the PATH variable?  I know that you can
> do a "set PATH=" while in the command-line window, but that disappears
> when you exit the window.  I need to change it in a registry somewhere,
> I suspect.  I tried Windows Help and they said to go to the control
> panel->system->advanced and change the environmental variable PATH.  I
> tried that, and it didn't change anything.  Also tried to find something
> on Google, and couldn't.  It certainly does seem to be a well kept secret.

Right-click on "My Computer", click on "Properties".

Click on the "Advanced" tab.

Click on the "Environment Variables" button.

In that window, you can change either your own environment
variables, or the system variables (if you the the permissions).

Bill

--
Psst...  Hey, you... Buddy...  Want a kitten?  straycatblues.petfinder.org

2006\01\04@161429 by Bill Kuncicky

picon face
OK -- never mind.  I see the problem now.  I was changing my personal
PATH variable, when I needed to change the system PATH variable.   Sorry
for the trouble.

Thanks,
Bill

2006\01\04@172531 by Herbert Graf

flavicon
face
On Wed, 2006-01-04 at 15:43 -0500, Bill Kuncicky wrote:
> I recently downloaded and installed the student version of the C30
> compiler (and also the C18 compiler) on my Windows XP computer.  One of
> the questions asked during the installation was whether or not I wanted
> it to set the PATH variables, and I said yes.
>
> Now, when using the command-line windows, I cannot use commands such as
> "edit."  I checked the PATH variable, and things look ok, but something
> is wrong because it is not checking C:\WINDOWS\SYSTEM32 which is where
> the edit.com program is.  (I  cannot access any of  those programs, in
> fact, such as ping).

FWIW, EXACT same problem on Win2k after installing C18, very
frustrating, and I can't believe MChip would release something with so
obvious a bug. TTYL

-----------------------------
Herbert's PIC Stuff:
http://repatch.dyndns.org:8383/pic_stuff/

More... (looser matching)
- Last day of these posts
- In 2006 , 2007 only
- Today
- New search...