Ping & ipconfig not recognized as commands

N

Nate Weldon

When I open a command window and try to issue a ping or
ipconfig command I get an error that says 'ping' is not a
recognized internal or external command. I'm seeing this
on a couple of XP machines also. I'm running win2k sp4 on
this particular machine. Anyone have any idea's what's
going on here.


Thanks,

Nate Weldon
 
D

Dave Patrick

Control Panel|System|Advanced|Environment Variables|System Variables and
make sure that "Path" has
%SystemRoot%\system32;%SystemRoot%
at least somewhere in the string.

Also check that "Path"
found at
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
is a type Reg_Expand_Sz string and not type Reg_Sz

You can run Programs|Accessories|System Tools|Backup, then choose ERD, then
if you check the box for "Also backup....", then the reg will also be backed
up to
%windir%\repair\RegBack
leaving the
%windir%\repair\
directory files intact as original installation.

Then close all programs, run regedit, navigate to
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
rename the Reg_Sz string "Path" to "Pathx" Then run regedt32, navigate to
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
double-click on Pathx, then right-click|Copy the string then from the menu;
Edit|Add Value
Value Name:=Path
Data Type:=REG_EXPAND_SZ
OK
then paste the string (copied from Pathx) in the string editor text box.
OK
Should be ok to delete the old value "Pathx" Close regedit, and regedt32,
restart for effect.


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| When I open a command window and try to issue a ping or
| ipconfig command I get an error that says 'ping' is not a
| recognized internal or external command. I'm seeing this
| on a couple of XP machines also. I'm running win2k sp4 on
| this particular machine. Anyone have any idea's what's
| going on here.
|
|
| Thanks,
|
| Nate Weldon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top