'ping' is not recognized as an internal or external command

Recently i found my system variables changed and some of the commands are not worked in DOS.

Error Message:

‘ping’ is not recognized as an internal or external command,

operable program or batch file.

Ping is not recognized as an internal or external command

Solution for Windows XP:

Right click “My Computer” and click “Properties”. Click the “Advanced” tab up top followed by the “Environment Variables” button at the bottom. In the 2nd list box, scroll down to the 5th or 6th entry “Path”, select it and click “Edit”. Add

%SystemRoot%\system32;%SystemRoot%;

to the beginning of the line. Okay the changes and try out your commands now.

You may also like...

9 Responses

  1. Alien4 says:

    It’s working :d

  2. masno says:

    Not Working
    C:\>ping 127.0.0.1
    ‘ping’ is not recognized as an internal or external command,
    operable program or batch file.

  3. Bhavin Gohil says:

    Its not working for me also.. pls suggest some more on this if any.
    However, still googling while posting this comment….

    Thanks šŸ™‚

  4. Amol Navrath says:

    There is Solution…. šŸ™‚

    When trying to run ipconfig from a cmd window (dos prompt), I receive the following error. This applies for ipconfig, ping, telnet, etc.

    ERROR MESSAGE:

    ‘ipconfig’ is not recognized as an internal or external command, operable program or batch file.

    FIX:

    Go to My Computer-> right click-> Properties->Advanced->Environment
    Variables->System variables and locate Path Environment Variable. Add C:\windows\system32;C:\windows\; at the
    end if it is not already there.

    Be sure that the path for C:\windows\system32\ matches that on your computer C: drive.

    Reopen cmd window and retry ipconfig, telnet, ping, etc.

    šŸ™‚ in case any quiry plz sing up on my website… and tell me problem… <3 šŸ™‚

    amolnavrath.hpage.com

    Amol Navrath

    Microft Engineer

  5. Nassib says:

    Thank you …..it is working!!!!!

  6. Tush Patel says:

    Its working, thanks.

  7. malik says:

    it didn’t worked

  8. Saif says:

    Hey buddy its working fine….

    Thanx a ton šŸ™‚

  9. Yuvaraj says:

    it’s working as the below mentioned path

    %SystemRoot%\system32;%SystemRoot%;

    Thank u Very much

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.