See if one of these commands works.
ping /?
Should show ping Help.
%systemroot%\system32\dllcache\ping.exewww.yahoo.com
%systemroot%\ServicePackFiles\i386\ping.exewww.yahoo.com
If you had a ping.com, you'd get an error message when using ping with no
extension or path.
If the path was messed up, you'd get a "is not recognized" message.
Sounds like ping.exe might be messed up. If it works with the dllcache or
i386 path then WFP can fix it.
ping.exe normally exists in
C:\WINDOWS\system32
and
C:\WINDOWS\system32\dllcache
or
C:\WINDOWS\ServicePackFiles\I386
The ping.exe in C:\WINDOWS\system32 is the one that gets used. The other
one is for backup. If Windows File Protection is working correctly, the
following should help.
Try this.
Start | Run | Type: system32 | Click OK |
Size the window so you can also see your Desktop.
Scroll down to ping.exe.
Left click and drag ping.exe to your Desktop.
Wait just a minute.
Now scroll down clear to the bottom of system32.
Is there a new ping.exe there?
If there is a new ping.exe delete the one on your Desktop.
Close system32.
If there is NOT a new ping.exe drag the one on your Desktop back into
system32.
Close system32.
If there is a new ping.exe in system32, you'll see something similar to
this in the Event Viewer under System, listed as Information; Windows File
Protection:
Event Type: Information
Event Source: Windows File Protection
Event Category: None
Event ID: 64002
Date: 27-May-07
Time: 9:25:49 AM
User: N/A
Computer: GT5404
Description:
File replacement was attempted on the protected system file
c:\windows\system32\ping.exe. This file was restored to the original version
to maintain system stability. The file version of the system file is
5.1.2600.2180.
If that doesn't help expand a copy of ping.exe from the XP CD.
Ping.exe is on your XP CD listed as PING.EX_ in the I386 folder. The
underscore (_) means that the file is compressed. The compressed file needs
to be expanded to be of any use. To expand it to the proper location...
Insert your XP CD into your CD drive and enter (Copy and Paste) the
following command into the Start | Run box:
expand D:\I386\PING.EX_ c:\windows\system32\ping.exe
Hit your ENTER key or click OK.
NOTE :
Change D to your CD drive letter if different.
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
InMike <
[email protected]> hunted and pecked:
- Show quoted text -