Issue:
When running the ping command in Command Prompt, the message “'ping' is not recognized as an internal or external command” may appear.
Causes:
The system uses the Path environment variable to locate executable files.
If the Path variable is configured incorrectly, the system cannot find the required files, and the command fails.
By default, the Path variable includes C:\Windows\System32, where ping.exe is located.
If this directory is missing from the Path variable, the ping command can only run when the current directory is C:\Windows\System32. Otherwise, the system cannot locate the file.
Solution:
- Check if
ping.exeexists inC:\Windows\System32. If not, download the file and place it into theSystem32folder. - Add
C:\Windows\System32to both user Path and system Path:- Right-click This PC → Properties → About → Advanced system settings → Environment Variables
- Select the Path variable → Edit
- Add
C:\Windows\System32
- Open CMD and run the
pingcommand. If command parameters are displayed, the issue is resolved.
| CN Solution | ★拼PING过程中提示:'Ping' 不是内部或外部命令 |
|---|---|
| JP Solution |
★Error message during Ping: “'ping' is not recognized as an internal or external command”:https://confluence.zwcad.com/pages/viewpage.action?pageId=321161817



