PATH environment variable not working ?

Posted: 10-05-2003, 09:51 PM
I'm a little confused by XP's apparent inability to find applications in
the \Windows\system32 directory from a DOS Command Prompt window, even
though the PATH that is reported includes "%systemroot%\system32". What
prompted me to realize this is I was trying to use IPCONFIG and PING
from a DOS window, and Windows wasn't finding those apps. I can SET
PATH in the DOS window to include "%PATH%;C:\Windows\system32" and
thereafter for that DOS session everything works fine (naturally). But
of course if I exit then start another Command Prompt I would have to
SET PATH again or else change to the \Windows\system32 directory. Why
does Windows do this? The "%systemroot%\system32" entry in the PATH
variable should cover that, should it not?

OK, I can certainly set up a batch file to run, but I'd rather know
what's going on. Anybody have a clue? And BTW, where IS the PATH
variable set? It's not in BOOT.INI, nor in any other INI files or other
places that I figure might be possible. Is it done in the Registry
somewhere? (If it is it's not that easy to find.)

TIA
'Sporky'
Charlotte, NC
Reply With Quote

Responses to "PATH environment variable not working ?"

Squire
Guest
Posts: n/a
 
Re: PATH environment variable not working ?
Posted: 10-05-2003, 10:47 PM
Hi, Sporkman,

When you are in the Windows Command prompt, type CD\ to put you in the root
directory, you have to type the path each time, or change to the folder you
want to work in.

The Path variable is located in the following:

Start, right click My Computer, Properties, Advanced, Environment Variables,
Highlite Path, click Edit, hit the right arrow key to get rid of the
highlight, be sure to add a semi-colon if you add programs.


--
Jerry

Have a nice day!

"Sporkman" <sporkedUNDERLINEagain@bigfootYETI.com> wrote in message
news:3F80844C.FC1F2425@bigfootYETI.com...
> I'm a little confused by XP's apparent inability to find applications in
> the \Windows\system32 directory from a DOS Command Prompt window, even
> though the PATH that is reported includes "%systemroot%\system32". What
> prompted me to realize this is I was trying to use IPCONFIG and PING
> from a DOS window, and Windows wasn't finding those apps. I can SET
> PATH in the DOS window to include "%PATH%;C:\Windows\system32" and
> thereafter for that DOS session everything works fine (naturally). But
> of course if I exit then start another Command Prompt I would have to
> SET PATH again or else change to the \Windows\system32 directory. Why
> does Windows do this? The "%systemroot%\system32" entry in the PATH
> variable should cover that, should it not?
>
> OK, I can certainly set up a batch file to run, but I'd rather know
> what's going on. Anybody have a clue? And BTW, where IS the PATH
> variable set? It's not in BOOT.INI, nor in any other INI files or other
> places that I figure might be possible. Is it done in the Registry
> somewhere? (If it is it's not that easy to find.)
>
> TIA
> 'Sporky'
> Charlotte, NC
Reply With Quote
_Jan
Guest
Posts: n/a
 
Re: PATH environment variable not working ?
Posted: 10-06-2003, 01:48 AM
Hello Sporkman,

[Start]
| Help and Support |
autoexec
[Enter]

In "Full-text Search Matches (8 results)"
under 5. "Create custom startup files for an MS-DOS-based
program"

Jan

>-----Original Message-----
>I'm a little confused by XP's apparent inability to find
applications in
>the \Windows\system32 directory from a DOS Command Prompt
window, even
>though the PATH that is reported includes "%systemroot%
\system32". What
>prompted me to realize this is I was trying to use
IPCONFIG and PING
>from a DOS window, and Windows wasn't finding those
apps. I can SET
>PATH in the DOS window to include "%
PATH%;C:\Windows\system32" and
>thereafter for that DOS session everything works fine
(naturally). But
>of course if I exit then start another Command Prompt I
would have to
>SET PATH again or else change to the \Windows\system32
directory. Why
>does Windows do this? The "%systemroot%\system32" entry
in the PATH
>variable should cover that, should it not?
>OK, I can certainly set up a batch file to run, but I'd
rather know
>what's going on. Anybody have a clue? And BTW, where IS
the PATH
>variable set? It's not in BOOT.INI, nor in any other INI
files or other
>places that I figure might be possible. Is it done in
the Registry
>somewhere? (If it is it's not that easy to find.)
>TIA
>'Sporky'
>Charlotte, NC
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Environment variable set where? Linn Kubler Windows XP Configuration & Management 3 07-18-2005 05:00 PM
listing a directory in my system environment variable:path RON Windows XP Help & Support 1 10-24-2003 02:48 PM
Environment Variable Override David Candy Customize Windows XP 0 07-31-2003 12:28 AM
set HOME environment variable paulas Windows XP Setup 0 07-28-2003 12:01 AM
adding an entry to the PATH environment variable derek laufenberg Windows XP Embedded 1 07-12-2003 12:24 AM


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90