ping and ipconfig recognized

G

Guest

When opening a command prompt and trying to do a ping or ipconfig, I always
receive :

C:\Documents and Settings\Administrator>ipconfig
'ipconfig' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\Administrator>ping /?
'ping' is not recognized as an internal or external command,
operable program or batch file.

Seached already the knowledgebase but coudn't find an answer.
Someone an idee ?
Thanks.
 
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 opening a command prompt and trying to do a ping or ipconfig, I
always
| receive :
|
| C:\Documents and Settings\Administrator>ipconfig
| 'ipconfig' is not recognized as an internal or external command,
| operable program or batch file.
|
| C:\Documents and Settings\Administrator>ping /?
| 'ping' is not recognized as an internal or external command,
| operable program or batch file.
|
| Seached already the knowledgebase but coudn't find an answer.
| Someone an idee ?
| Thanks.
 

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