Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

For some reason, my Windows 7 computer does not recognise the cmd.exe tools ping and ipconfig. I have tried to download them from the web, but I can only find tools that do similar stuff; not the official ping and ipconfig.

Where can I get ping and ipconfig for my Windows 7? What could have caused those networking tools to not be part of my Windows 7? (Other tools I have tried are available.)

share|improve this question
3  
Are you sure they're not there? This could just be a path issue. The binaries should both be in C:\Windows\System32. –  ernie Dec 21 '12 at 18:28
add comment

2 Answers

up vote 4 down vote accepted

Firstly, check if your environment variables (can use set from cmd) contains a PATH variable with value C:\Windows\system32

This is the place ping.exe is in.

You an check if you can call C:\Windows\system32\ping.exe assuming C:\Windows is your windows installation directory.

Secondly, you can try running sfc /scannow from an elevated cmd (running as administrator).

share|improve this answer
    
Ok. I have PING.EXE inside C:\Windows\system32. I've now added that to path, relaunched cmd.exe, and it still does not work. –  Randomblue Dec 21 '12 at 18:40
    
when you type set you see the path there ? after restart of cmd.exe –  Ofiris Dec 21 '12 at 18:44
    
Yep, it's there –  Randomblue Dec 21 '12 at 18:44
    
And you get file not found ? –  Ofiris Dec 21 '12 at 18:45
    
I get "'ping' is not recognized as an internal or external command, operable program or batch file." –  Randomblue Dec 21 '12 at 18:46
show 4 more comments

Check your C:\Windows\System32 or whatever drive windows is installed on for ipconfig.exe. Does it exist? Possibly the account you are using does not have access or there is an issue with the environmental variables

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.