How do I get the “ping” command line in windows 7 to work..

I am getting the message that the “ping” is not a recognized program.
C:\>ping -a irvaruba
'ping' is not recognized as an internal or external command,
operable program or batch file.
frankbustosAsked:
Who is Participating?
 
aadihCommented:
To correct the Path variable, try:

Select Start, right click My Computer, select Properties. Next select the Advance tab, and Environment Variables button, and select the Path variable listed under System Variables.

 When editing it should include:

 %SystemRoot%\system32

 Which translates to something like:

 C:\WINDOWS\system32.
0
 
tailoreddigitalCommented:
i.e    at a command prompt,    

ping google.com      

ping 192.168.1.1
0
 
aadihCommented:
Try: Navigate to Winows\System32 directory (CD command). Then type ping ?

It looks like your PATH variable is messed up.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
tailoreddigitalCommented:
You can ping right from the root,    cd\    takes you to root
0
 
frankbustosAuthor Commented:
aadih, ok that worked. How can I set it to that when I go to the command prompt it goes to that instead of just the root of c?
0
 
frankbustosAuthor Commented:
no i can't ping right from the root...
0
 
frankbustosAuthor Commented:
awesome, that worked! thanks!
0
 
aadihCommented:
Check your Path variable.

 Look here with pictures:

http://www.computerhope.com/issues/ch000549.htm >
0
 
brendanmeyerCommented:
from cmd run

echo %path%

Open in new window


make sure 'C:\Windows\system32' is in the output

if not
go to control panel->system
advanced system settings (left side bar)
environment variables
find 'path' under system variables
add to the end ";%SystemRoot%\system32" (without quotes)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.