'ping'不被识别为内部或外部命令可操作程序或批处理文件错误

问题描述:

当我做“ping www.otbotweb.com”我得到:'ping'不被识别为内部或外部命令可操作程序或批文件错误。'ping'不被识别为内部或外部命令可操作程序或批处理文件错误

下面是一个例子:

Command Prompt Ping

然后:

Error Command Prompt

那么,为什么?!?我做错了什么是错的?

WINDOWS 7 BTW位和64位

有一些在线教程,建议把查找Systems32。而这甚至没有出现!在那里的图像搜索--->enter image description here 我也重新启动了我的电脑(很多次)

我已经有了这个超过6个月,它真的让我烦恼。

此外,如果你相信这是题外话请解释第一:P

+0

'dir c:\ windows \ system32 \ ping */b'说什么?顺便说一下,从控制台窗口复制/粘贴测试,不要粘贴屏幕截图。 – 2014-10-07 23:28:26

+0

我不能复制粘贴在命令提示符 – Wai 2014-10-07 23:29:16

+0

@ Luiz187右键单击粘贴。右键单击全选,然后按Shift键 – Steve 2014-10-07 23:29:36

最有可能的东西已经从您的路径中删除了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 
+0

我想我已经安装了它。 – Wai 2014-10-07 23:39:35

+0

这可能是问题 - 如果路径已被更改,则其他文件夹可能也会丢失。 – foxidrive 2014-10-07 23:52:43

+0

什么是“我的电脑” – Wai 2014-10-08 00:00:39

假设你使用的是Windows的64位获胜版本。在C:\ Windows \ SysWOW64下查看,看看你是否可以在该文件夹下找到PING.EXE。如果没有,去DL一个。某人或某事(病毒)可能已将其删除

已编辑:如果您使用的是32位,请在C:\ Windows \ System32下找到PING.EXE。

+0

你是什么意思DL一个? – Wai 2014-10-07 23:36:15

+0

@ Luiz187下载一个 – Steve 2014-10-07 23:36:37

+0

?!?下载Ping?!?你是什​​么意思(我觉得很愚蠢) – Wai 2014-10-07 23:37:45