Can you use them when you point directly to them..

> C:\Windows\System32\ping.exe 127.0.0.1

? If so, you probably have a messed up PATH variable.

> echo %PATH%

Should have "C:\Windows\System32" in it, does it? 以上为google的结果,我自己用的是vista sp1 英文版,应该是一样的道理。大意为:打开命令行,输入:C:\Windows\System32\ping.exe 127.0.0.1 如果ping通,则说明路径变量的设置出了问题。我自己试了一下,果然ping通了。因此又有下文说:

For Windows XP:
Right click "My Computer" and click "Properties".
Click the "Advanced" tab up top followed by the "Environment Variables" button at the bottom.
In the 2nd list box, scroll down to the 5th or 6th entry "Path", select it and click "Edit". Add "%SystemRoot%\system32;%SystemRoot%;" (minus the quotes) to the beginning of the line.
Okay the changes and try out your commands now.
虽然是以xp为例,不过我试了一下,对vista的路径设置是一样的。具体操作为“computer->properties->Advanced system settings->Invironment Variables->”在第二个编辑框中即System Variables中找到PATH,选中,编辑,添加“%SystemRoot%\system32;%SystemRoot%;”(注意分号用于隔开不同的路径)。OK即可。
重新敲入ping,成功。
如果在开始的手动输入ping的路径的情况下,依然无法识别命令,则说明windows/system32下的ping.exe等文件丢失,找一个一样的系统复制一份就可以了
Probably the .exes for the commands are deleted. They should be in \Windows\System32 (ping.exe, defrag.exe, ipconfig.exe). You can repair the installation or just simply find a computer with the same OS and copy the few you need.

转载于:https://blog.51cto.com/tontinme/113534

Ping, IPConfig, Format, Netstat, etc. Not Recognized as Commands相关推荐

  1. 利用ping/ipconfig/nslookup/dig/whois简单工具测试DNS

    利用ping/ipconfig/nslookup/dig/whois简单工具测试DNS 2010-09-21 23:08:54 标签:dig mx ptr nslookup dns [推送到技术圈] ...

  2. 计算机网络实验一:ping、ipconfig、netstat、tracert、arp命令

    文章目录 1. ping 1.1 简介 1.2 使用 2. ipconfig 2.1 简介 2.2 使用 3. netstat 3.1 简介 3.2 使用 4. tracert 4.1 简介 4.2 ...

  3. win10 无法使用ping ipconfig命令

    问题现象如下: 原因是这些命令的路径未添加到环境变量.操作步骤如下: 1.右键 此电脑->属性->高级系统设置->高级 2.点击环境变量 -> 选择上面一个框的path -&g ...

  4. 计算机网络原理Ping、IPconfig、Nbtstat、Netstat命令详解(上)

    积累ping.ipconfig.nbtstat.netstat命令- 文章目录 Ping IPconfig Nbtstat Netstat Ping ping 命令通过发送 ICMP 回声请求报文来检 ...

  5. CCNA Discovery第二学期 (版本 4.1)

    第一章:在中小型企业或 ISP 工作 (正确率95%) 1.Internet 主干由什么相互连接? MDF IXP POP 卫星天线 2.哪项特性使网络设备具备可扩展性? 接口的数量固定 易于修复 模 ...

  6. NETSTAT/ TRACERT /IPCONFIG /ARP 命令详解

    目录 NETSTAT TRACERT IPCONFIG ARP NETSTAT NETSTAT命令用于监控TCP/IP网络,使用该命令可以显示协议统计,还可以查看路由表,实际网络连接以及每一个网络接口 ...

  7. Python获取局域网IP(ping)

    #-*- coding: utf-8 -*- #author: 田园小菜籽 #date: 2018-12-11 #python3.x ip_scaner.py ''''' 使用方法样例 python ...

  8. 通过ping检测网络故障的典型次序

    网络设置维修故障: 正常情况下,当你使用Ping命令来查找问题所在或检验网络运行情况时,你需要使用许多Ping命令,如果所有都运行正确,你就可以相信基本的连通性和配置参数没有问题:如果某些Ping命令 ...

  9. 主机,开发板,虚拟机三者之间相互ping通

    首先要确保三者在同一个网段,即ip地址的前三位相同 检查主机ip:cmd打开命令行,首先在当前路径是没有办法使用ping,ipconfig命令的 需要cd c:\windows\system32这个目 ...

最新文章

  1. php文章列表样式,css列表样式有哪些?css设置列表样式的方法
  2. 吐槽知乎现任搜索引擎
  3. 最稳定的Nginx绿色环境,可无限自定义PHP和mysql版本、同时运行N个版本
  4. java 堆 是用_Java8元空间和堆使用
  5. python 字典组成的列表_python - 合并多列表组成一个字典
  6. ubuntu14.04 安装pidgin-lwqq
  7. Go语言:基础数据类型
  8. Eclipse 9.x 10.0 之破解详细步骤
  9. i7-10750H和i7-8750H 对比哪个好
  10. 主页被修改成httpwww.yy4000.cn等类似首页,无法更改,怎么办?
  11. 知名互联网公司架构图
  12. “弹出DVD驱动器错误”解决方法
  13. 个人运营app需要多少钱【费用】
  14. Sql server2008的使用
  15. nexus4刷机 android6.0,谷歌nexus 5刷机工具
  16. 代理服务 SQUID 测试
  17. 污水处理设备:生物技术如何处理畜禽养殖污水?
  18. Windows画图使用总结
  19. 解决pcntl_fork() has been disabled for security reasons in file /www/wwwroot/192.168.21.2/vendor/wor
  20. python字典按值(Values)排序的方法

热门文章

  1. springMVC分析-2
  2. C++ share_prt 简单设计和实现
  3. csc.exe的环境变量设置
  4. MMC无法创建管理单元
  5. QQ,MSN,SKYPE等在线状态代码
  6. 西门子新款A系列手机【ZZ】
  7. BZOJ 1937: [Shoi2004]Mst 最小生成树 [二分图最大权匹配]
  8. (转)SQLServer实例讲解
  9. 正则验证多个邮箱用分号隔开
  10. asp.net控件开发基础(19)