Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Command Prompt does not recognise ping, ipconfig and other commands

Posted on 2004-10-26
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 49

Expert Comment

ID: 12411444
Check this

How To Manage Environment Variables in Windows XP

These variables may not be correct
LVL 65

Accepted Solution

SheharyaarSaahil earned 1600 total points
ID: 12411493
Hello gurutek =)

Check this PAQ,

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

Expert Comment

ID: 12411506
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

ID: 12411630
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!

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

604 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