Download the Tom's Hardware App from the App Store
The reference for current tech news
Yes No
Ads
Tom's Hardware > Forum > Windows XP > Configuration & Customization > cmd.exe does not get %systemroot% value

cmd.exe does not get %systemroot% value

Forum Windows XP : Configuration & Customization cmd.exe does not get %systemroot% value

Word :    Username :           
 

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

 

When I go to a command prompt (cmd.exe or command.exe) I
do not get the correct path value. This causes common
commands to fail. Such as ping. I get the message:

'PING' is not recognized as an internal or external
command,
operable program or batch file.

However if I manually do cd \windows\system32 it works.

If if type the path command I get:

PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%
\System32\Wbem;etc...

If I look at my Environment Variables under My Computer
Properties it shows correctly C:\Windows\System 32,etc
and my Windir variable shows as C:\Windows. And if you
click on the Edit button for those variables they show as
%SystemRoot% instead of C:\Windows.

This has caused some problems with some other
applications as well.

If anyone has a clue as to how to fix I would greatly
appreciative.

Reply to Anonymous
Register or log in to remove.

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

 

Dan, check here http://www.kellys-korner-xp.com/xp_abc.htm Select C
and scroll to command prompt.


"Dan Troxell" <anonymous@discussions.microsoft.com> wrote in message
news:287901c4280b$cbdbfdc0$a001280a@phx.gbl...
> When I go to a command prompt (cmd.exe or command.exe) I
> do not get the correct path value. This causes common
> commands to fail. Such as ping. I get the message:
>
> 'PING' is not recognized as an internal or external
> command,
> operable program or batch file.
>
> However if I manually do cd \windows\system32 it works.
>
> If if type the path command I get:
>
> PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%
> \System32\Wbem;etc...
>
> If I look at my Environment Variables under My Computer
> Properties it shows correctly C:\Windows\System 32,etc
> and my Windir variable shows as C:\Windows. And if you
> click on the Edit button for those variables they show as
> %SystemRoot% instead of C:\Windows.
>
> This has caused some problems with some other
> applications as well.
>
> If anyone has a clue as to how to fix I would greatly
> appreciative.

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Configuration & Customization > cmd.exe does not get %systemroot% value
Go to:

There are 2082 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
  • Ask the community now
  • Publish
Ad
Ads
Latest best answer
Emachines with windows xp: what USB Wi-Fi Adapter and wireless card to buy? Grea
By Combat Wombat, 4 days ago:

Anything that says it is XP compatible should be fine, but if you have a choice stick to...

Best offers
They won a badge
Join us in greeting them
Top experts