Tom's Hardware > Forum > Windows XP > Configuration & Customize > cmd.exe does not get %systemroot% value

cmd.exe does not get %systemroot% value

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

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
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.

Sponsored Links
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 & Customize > cmd.exe does not get %systemroot% value
Go to:

There are 1600 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
Sponsored links
  • Ask the community now
  • Publish
Ad
Latest best answer
Group policy
By hollett, 1 day ago:

right click "administrative Templates" and click add remove templates. you will then have a dialg box with a list of templates. Click Add and this should open the Windows\system32\inf folder and list a number of .ADM files. From the list add in Conf.adm and System.adm. Close the Add/Remove temples box and you should now have the requied options

They won a badge
Join us in greeting them
Top experts