Share via

ipconfig /all and ping command are not recognized, give error: internal or exteral command.

Anonymous
2012-11-16T08:53:04+00:00

Original title: dos command.

Then i run ipconfig /all and ping command in command prompt show the error ipconfig /all is not

recognized as an internal or external command, operable program or batch file in windows xp sp3 Professinal

Windows for home | Previous Windows versions | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2012-11-16T10:34:32+00:00

    Hi,

    Both of these commands are protected from accidental deletion by Windows, i.e. if they get deleted Windows will just add them back to the folder C:\Windows\System32.

    In the command prompt, try changing to this folder by typing cd C:\Windows\System32 (and then hit return) before trying ipconfig or ping.

    If this gets you executing them then your 'path' is probably messed up.

    You may wish to set a system restore point first...

    http://support.microsoft.com/kb/948247

    ...in case you mess things up and need to restore to it...

    http://support.microsoft.com/kb/306084

    ...then...

    • Hold down the Windows key (between Ctrl and Alt) and hit the Pause Break key
    • Click the Advanced tab
    • Click the Environment Variables button
    • In the System variables section click Path (you may have to scroll)
    • Click the Edit button

    Paths are separated by semicolon (;), is there a path to %SystemRoot%\system32? If not, add one (make sure to separate with semicolon). Click OK (three times) to get out. Reboot the PC and try again without the cd command above.

    Tricky

    10+ people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful