'ping'不被识别为内部或外部命令可操作程序或批处理文件错误
问题描述:
当我做“ping www.otbotweb.com”我得到:'ping'不被识别为内部或外部命令可操作程序或批文件错误。'ping'不被识别为内部或外部命令可操作程序或批处理文件错误
下面是一个例子:
然后:
那么,为什么?!?我做错了什么是错的?
WINDOWS 7 BTW位和64位
有一些在线教程,建议把查找Systems32。而这甚至没有出现!在那里的图像搜索--->enter image description here 我也重新启动了我的电脑(很多次)
我已经有了这个超过6个月,它真的让我烦恼。
此外,如果你相信这是题外话请解释第一:P
答
最有可能的东西已经从您的路径中删除了system32目录。你安装了Java SDK吗?它有这样的声誉。
要对此进行检查,请在命令提示符下键入path
(依次输入)
如果C:\ Windows \ System32下是不存在的,它需要添加回要做到这一点:
From the desktop, Right click 'Computer', click 'Properties'
then click 'Advanced system settings'
- this should bring up the System Properties - Advanced tab
Click 'Enviornment Variables'
Select the system variables 'PATH'
Edit PATH and add this line to the front
c:\windows\system32;
or to be generic (in case you've installed windows on a different drive)
%SystemRoot%\system32
Start a new command window to check if this has worked (or reboot)
existing command windows will use the old path
'dir c:\ windows \ system32 \ ping */b'说什么?顺便说一下,从控制台窗口复制/粘贴测试,不要粘贴屏幕截图。 – 2014-10-07 23:28:26
我不能复制粘贴在命令提示符 – Wai 2014-10-07 23:29:16
@ Luiz187右键单击粘贴。右键单击全选,然后按Shift键 – Steve 2014-10-07 23:29:36