[SOLVED] not recognized as an internal or external command

I'm using windows 7. When i tried to ping using cmd, it get an error 'not recognized as an internal or external command', it happend with some command too, to solve this :
1. right click my computer, click properties.
2. click advanced system settings
3. on tab advanced, click environment variables...
4. on the bottom, system variables, click variable 'Path', then click Edit...
5. give semicolon ';' on the end of the variable value, then type 'C:\Windows\System32' without quotes, click ok

Now it solved

/* infolinks */