Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2013-06-20
9
Medium Priority
?
412 Views
Last Modified: 2013-06-20
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
Comment
Question by:frankbustos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 23

Expert Comment

by:tailoreddigital
ID: 39264593
i.e    at a command prompt,    

ping google.com      

ping 192.168.1.1
0
 
LVL 24

Expert Comment

by:aadih
ID: 39264596
Try: Navigate to Winows\System32 directory (CD command). Then type ping ?

It looks like your PATH variable is messed up.
0
 
LVL 23

Expert Comment

by:tailoreddigital
ID: 39264600
You can ping right from the root,    cd\    takes you to root
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:frankbustos
ID: 39264603
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
 
LVL 24

Accepted Solution

by:
aadih earned 2000 total points
ID: 39264604
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
 

Author Comment

by:frankbustos
ID: 39264606
no i can't ping right from the root...
0
 

Author Closing Comment

by:frankbustos
ID: 39264608
awesome, that worked! thanks!
0
 
LVL 24

Expert Comment

by:aadih
ID: 39264612
Check your Path variable.

 Look here with pictures:

http://www.computerhope.com/issues/ch000549.htm >
0
 
LVL 14

Expert Comment

by:brendanmeyer
ID: 39264613
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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An article on effective troubleshooting
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question