‘ping’ is not recognized as an internal or external command

ping
In my Command Prompt when run ping, this command is showing following error:
‘ping’ is not recognized as an internal or external command,
operable program or batch file.

Some day I’ve edited Environment Variables in advanced system setting, maybe I’ve erased something on the path.

This is how to fix:

Go to My Computer and Advanced system settings =>Advanced => Environment Variables
Select ‘PATH’ from the list of system variables and edit and set PATH to c:windowssystem32