%SystemRoot% variable does not expand in path

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

I recently discovered that I could not use PING or IPCONFIG from the XP
command prompt. The beginning of my path displays as follows:
PATH=%SystemRoot%\system32;%SystemRoot%;...

ECHO %SystemRoot% returns the correct response: C:\Windows

If I type the full path (e.g. c:\windows\system32\ipconfig), the command
works, but I can't figure out how to repair the PATH or what possibly went
wrong. I can't repair my installation, since the CD version is older than
the SP2 vesion, so my next thought was to re-install SP2. Any better ideas?

I'm running XP Pro SP2, fully updated.

Thanks in advance.
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Hi

You need explicit entries to folders in the PATH statement.

--

Will Denny
MS-MVP Windows Shell/User
Please reply to the News Groups.


"mjensen25" <mjensen25@discussions.microsoft.com> wrote in message
news:5E77AA8A-8774-4414-9653-7C5172BED069@microsoft.com...
>I recently discovered that I could not use PING or IPCONFIG from the XP
> command prompt. The beginning of my path displays as follows:
> PATH=%SystemRoot%\system32;%SystemRoot%;...
>
> ECHO %SystemRoot% returns the correct response: C:\Windows
>
> If I type the full path (e.g. c:\windows\system32\ipconfig), the command
> works, but I can't figure out how to repair the PATH or what possibly went
> wrong. I can't repair my installation, since the CD version is older than
> the SP2 vesion, so my next thought was to re-install SP2. Any better
> ideas?
>
> I'm running XP Pro SP2, fully updated.
>
> Thanks in advance.
>
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

"Will Denny" wrote:
> You need explicit entries to folders in the PATH statement.

I will make those changes.. don't know why I didn't think of that. Thanks
so much for your assistance!