'ping' 不是内部或外部命令,也不是可运行的程序

在使用ping命令检查一下,结果提示:'ping' 不是内部或外部命令,也不是可运行的程序。

在网上查找相关资料,应该是 系统变量中path缺少 ;%SystemRoot%/system32

[我的电脑]属性/高级/环境变量/在系统变量里找到path/编辑/

将;%SystemRoot%/system32加进去即可,问题解决了。

应该是在使用java配置环境变量时不小心将 ;%SystemRoot%/system32去掉了。

posted @ 2017-09-11 13:37  JokerJason  阅读(1268)  评论(0)    收藏  举报

It's not who you are underneath, it's what you do that defines you

Brick walls are there for a reason :they let us prove how badly we want things