• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 429
  • Last Modified:

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.
0
frankbustos
Asked:
frankbustos
  • 3
  • 3
  • 2
  • +1
1 Solution
 
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
 
tailoreddigitalCommented:
You can ping right from the root,    cd\    takes you to root
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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
 
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
 
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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now