Command Prompt
There are many issues that can cause that…I know there was a virus/worm/malware that was disabling various troubleshooting tools a couple of months ago (taskmanager/msconfig/command prompt tools/etc). Also, ping.exe may not be on your system for some reason (random accidental deletion…which windows is prone to do :P ). The least likely reason, network troubleshooting/cmd prompt tools can be disabled individually by MS sysadmins if you are working off of a corporate computer or the like.
I'm a software support agent and I get this alot. Firstly, does other commands work? Try 'ipconfig' and see if that works. If no command works then you have corrupt system files and I would recommend re-installing windows. If it's only the ping command check if your tiping it in correctly 'ping www.google.com' and if you arnt that stupid then download and run something called WinSock. It replaces all bad TCP/IP files that may be bad and just for the sake of doing a good job I would recommend running 'ipconfig /flushdns' and running 'ipconfig /renewall' in CMD. Let me know if this was usefull.
Peace out! :D
regret wrote: http://support.microsoft.com/kb/162542
^
Granted you can't FIND ping.exe, use the following, where C:\ can be substituted for the letter of your drive wtih Windows installed:
dir ping.exe /S```
Sample results:
```markupVolume in drive X has no label.
Volume Serial Number is CDEF-0110
Directory of X:\WINDOWS\system32
11/04/2005 14:49 PM 17,920 ping.exe
1 File(s) 17,920 bytes
And if that doesn't work, find a copy of "ping.exe" off the net. Simple as that. ;)
dude, just goto the system32 directory and look for the commands you need, so if its ping look for ping.exe and everything else u need is like tht with .exe at the end probably, if they aint ther, either get them somehow and put them there! it doenset matter how you get them, just do it, nick em off of a mate, you might be able to extract them from ur install CD without re-installing windows, i dunno, i never done it.
vince2478 wrote: ONCE AGAIN ITS NOT JUST PING SO STOP TALKING ABOUT IT THAT WAS JUST AN EXAMPLE IN THE BEGGINING OF THE FORUM, NO COMMAND WILL WORK.
I fail to see why finding Ping isn't useful. If you find one file, you may very well find the others.
Just a tip, but typing in all Caps discourages users from helping you.
ziggythebear wrote: oh sry i didnt know it wasnt ping i got what your sayin
oh and by the way [who ever just slightly flamed my post below me] ping.exe will work in any directory that your in
.::ZTB::.
If you're referring to my post, I did not say Ping would only work in certain directories. I said (in relation to the OP's problem of missing commands) "If you find one file, you have a very good chance of finding the others."
If you go into %SystemRoot%\System32\ on XP, and rename "ping.exe" to "ping2.exe", and attempt to then call ping from the cmd prompt, it will not work.
I figured something good out hopefully but I think I found out the problem I think my command prompt path is set wrong because when I got to start all programs then applications then command prompt I open it up and the path is C:\Documents and Settings\Owner> but I was looking around on my computer and I went to C:\WINDOWS\system32 and there is a program cmd which is the exact same thing and it works perfectly and when I open it up its says C:\WINDOWS\system32> so is there a way I can change the path of C:\Documents and Settings\Owner> on the other one to C:\WINDOWS\system32
vince2478 wrote: so your sayin u think I could copy the command prompt file from another computer and put it in mine? and if so what would be the file path to it?
No.
Cmd.exe is located in the System32 folder, already. (As you posted)
Your problem (from what I'm speculating) is that one or more of your normal programs (Ex: Ping.exe, Xcopy.exe) are not situated in the correct folder, or one of your system variables aren't set correctly.