Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Software > Other Software   »   Ping not recognized as internal or external command

 
Question Tools Search this Question Display Modes
Question
 
 
#1  
Old Nov 27, 2005, 10:46 PM
mmhah
New Member
mmhah is offline
 
Join Date: Nov 2005
Posts: 3
mmhah See this member's comment history on his/her Profile page.
Ping not recognized as internal or external command

When running cmd C:\Documents and Settings\...\ping
I get the following error
'ping' is not recognized as an internal or external command.
Please help me solve my problem
Thanks

Reply With Quote
 
     

Answers
 
 
Old Nov 28, 2005, 12:12 AM   #2  
Curlyben
Administrator
Curlyben is offline
 
Curlyben's Avatar
 
Join Date: Mar 2005
Location: Behind You !!
Posts: 5,761
Curlyben See this member's comment history on his/her Profile page.Curlyben See this member's comment history on his/her Profile page.Curlyben See this member's comment history on his/her Profile page.Curlyben See this member's comment history on his/her Profile page.Curlyben See this member's comment history on his/her Profile page.Curlyben See this member's comment history on his/her Profile page.
Call Curlyben via Skype™
Your system has lost the setting for ping.
Here's how to fix it:
1. Right click 'My Computer', select 'Properties', click on the 'Advanced' tab
2. Select 'Enviornment Variables'
3. Select 'PATH' from the list of system variables and edit

set PATH to c:\windows\system32
OK job done
  Reply With Quote
 
     
 
 
Old Nov 28, 2005, 05:16 AM   #3  
mmhah
New Member
mmhah is offline
 
Join Date: Nov 2005
Posts: 3
mmhah See this member's comment history on his/her Profile page.
Ping not recognized as internal or external command

Thanks a million for your assistance.
There is only one thing that still bothers me.
Previously I used to be able to ping from
Start
Run
cmd
C:\Documents and Settings\.....>ping (whatever)
Any idea why this no longer works?
  Reply With Quote
 
     
 
 
Old Nov 28, 2005, 05:21 AM   #4  
Curlyben
Administrator
Curlyben is offline
 
Curlyben's Avatar
 
Join Date: Mar 2005
Location: Behind You !!
Posts: 5,761
Curlyben See this member's comment history on his/her Profile page.Curlyben See this member's comment history on his/her Profile page.Curlyben See this member's comment history on his/her Profile page.Curlyben See this member's comment history on his/her Profile page.Curlyben See this member's comment history on his/her Profile page.Curlyben See this member's comment history on his/her Profile page.
Call Curlyben via Skype™
If you have followed my instructions then it will work that way.

The PATH field needs to be the first one in the list, if you have more than one.

I know this works as I had exactly the same issue and this resolved it.

Sometimes you do have to reboot for it to take effect.
  Reply With Quote
 
     
 
 
Old Nov 28, 2005, 05:54 AM   #5  
mmhah
New Member
mmhah is offline
 
Join Date: Nov 2005
Posts: 3
mmhah See this member's comment history on his/her Profile page.
Still puzzled

Ive tried what you suggested ans still cannot ping from Documents and Settings even after rebooting?
It always used to work?
Like I said I can ping from Windows\System32\cmd
  Reply With Quote
 
     
 
 
Old Feb 26, 2007, 05:05 PM   #6  
Steve_C
New Member
Steve_C is offline
 
Join Date: Feb 2007
Posts: 9
Steve_C See this member's comment history on his/her Profile page.
Here is your problem.
Your environment variable settings were altered by some application you installed.
I just had the same problem and I know exactly how to fix it.
A previous poster said that you need to change your settings to c:\windows\system32.
This is not right as it will cause problems with installed applications and some native applications that windows has will not run if they are outside that directory.
Same location (Right click on My Computer, then select Properties, then Advanced tab, then Environment variables button located towards the bottom. You will be given a dialog that has 2 parts. The top part is for user variables. Usually there is not much there and sometimes will have nothing at all. This is normal and you do not need to add or adjust anything there. The second part is for the system itself. You will see several entries there. The one your interested in is the one with PATH label to the left labeled Variable. Left click to select the Path entry and then select Edit. You will be presented with another dialog with 2 fields that you can edit. Do not alter the Variable name field as the system needs that name to set paths for the windows environment. Under Variable value: I would never tell you to delete that line and reset it to a path that is C:\windows\system32. This will cause you problems if you had other paths set up for other applications there. What you do is copy the entire field so you can see what is all there using a text editor like notepad.exe. Once you copy the field the parts your concerned with are the entries %SystemRoot% and %SystemRoot%\system32. These should be the first 2 entries and in that order. Each entry is separated by a ";" (no quotes). So the first 2 entries should be like the following:

%SystemRoot%;%SystemRoot%\system32

There is a ";" (no quotes) between them. The first one is to tell the system where your windows Operating system is. you can type that in a command prompt and get something similar to C:\windows. This is important that it comes first as it tells the shell (A shell is the same as command prompt) and the desktop which is an application running called explorer.exe (not to be confused with Internet Explorer) Where the OS files reside such as the executables and command files are. The second is where the programs such as ping.exe and arp.exe are located.

Be careful when you do edit system stuff as you may break software and be forced to reinstall them.
Microsoft has a page that lists all the environment variable settings.
%SystemRoot%\system32;%SystemRoot% are only 2 of them. There are several more that serve similar to wildcards to the system folders and settings.
Here is the Microsoft page I am referring to: Microsoft Corporation

Try typeing (without the quotes) "echo %homedrive%" in a command prompt window and see. The system is set up in a way that these wildcards point to the proper places.

I hope this helps you solve your issue.

Steve C.
  Reply With Quote
 
     


Question Tools Search this Question
Search this Question:

Advanced Search
Display Modes

 
Similar Sponsors

Similar Questions
Question Asker Topic Answers Last Post
Drive Not Recognized in Windows XP TilesOne Hard Drives 2 Jul 4, 2006 08:59 PM
Printer not Recognized mekran12 Wireless Technology 7 May 6, 2006 09:47 PM
USB Device not recognized Jeans77 Wireless Technology 2 Jan 17, 2006 12:43 PM
internal and external vga & Video card with tv out.... naderbd Desktops 2 Jan 7, 2006 05:13 AM
i can ping an address, but browser doesn't work stevemcl Windows 4 Dec 27, 2005 09:06 AM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 07:16 PM.

Content Relevant URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc.