Command Prompt does not recognise ping, ipconfig and other commands

Posted on 2004-10-26
Last Modified: 2008-02-01
I am running Windows XP Home edition. Lately, I am facing a peculiar problem. Whenever I launch the MS DOS command prompt and execute commands like PING or IPCONFIG, I get an error message saying 'ping' is not recognized as an internal or external command, operable program or batch file. However, when I run the same PING or IPCONFIG command from the open dialog box of the Run option on the start menu, the command executes properly. Any clues??
Question by:gurutek
    LVL 49

    Expert Comment

    Check this

    How To Manage Environment Variables in Windows XP;en-us;Q310519'

    These variables may not be correct
    LVL 65

    Accepted Solution

    Hello gurutek =)

    Check this PAQ,

    Ping is not recognized as an internal or external command
    LVL 49

    Expert Comment

    Try this
    right-click my computer
    go to properties
    go to advanced
    click on "environmental variables"
    under system variables , click on path to enable it
    click on edit
    and add this

    log off, log back on and check
    LVL 30

    Expert Comment

    i concur its definately the path is wrong but when you do go to edit it make sure that the paths are correct as it seems a bit funny that the path variables have changed maybe due to malicious code!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Lean Six Sigma Project Manager Certification

    There are many schools of thought around successful project management, but few as highly regarded as the Six Sigma and Lean methods. With 37 hours of learning, this training will explain concrete processes for increasing efficiency and limiting wasted time and effort.

    Suggested Solutions

    cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
    Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    857 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now