Cause: This error may occur due to messed computer path.
To resolve the problem:
Open a Command Prompt and type: Set <hit Enter>.
You should see included: Path C:\WINDOWS\system32.
To correct the path, on your system go to Start>right-click MyComputer>click Properties.
Click the Advance tab.
Click the 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.
Each entry included in the path must be separated by a semicolon.
Try executing the Ping/Telnet command now from the command prompt.
The same will also work for Telnet and other commands.
To resolve the problem:
Open a Command Prompt and type: Set <hit Enter>.
You should see included: Path C:\WINDOWS\system32.
To correct the path, on your system go to Start>right-click MyComputer>click Properties.
Click the Advance tab.
Click the 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.
Each entry included in the path must be separated by a semicolon.
Try executing the Ping/Telnet command now from the command prompt.
The same will also work for Telnet and other commands.