解决windows的dos下某些命令例如ping、telnet、more 不是内部或外部命令(is not recognized as an internal or external command)
2015-03-11 17:03
911 查看
英文系统出现:
'ping' is not recognized as an internal or external command, operable program or batch file
[b]中文系统出现:[/b]
'ping'不是内部或外部命令,也不是可运行的程序或批处理文件。
问题原因及解决:
1.环境变量没配置:
解决方法:我的电脑(右键)--电脑属性--高级---环境变量---在PATH变量值最后加入 ;C:\windows\system32 ,即命令文件所在文件夹。也可以在PATH变量值最后加入 ;%SystemRoot%\system32 ,如果你的系统不是在C盘安装的话。
2.文件丢失:在该文件夹C:\windows\system32下找不到ping.exe。
解决方法:从其他人电脑上拷贝ping.exe到本人电脑C:\windows\system32
3.文件扩展名配置丢失或没有:
解决方法:我的电脑(右键)--电脑属性--高级---环境变量---在PATHEXT变量后加入.exe。如果你的more命令无法识别了,要在PATHEXT变量后加入 .com,因为在C:\windows\system32中,more对应的文件是more.com。
'ping' is not recognized as an internal or external command, operable program or batch file
[b]中文系统出现:[/b]
'ping'不是内部或外部命令,也不是可运行的程序或批处理文件。
问题原因及解决:1.环境变量没配置:
解决方法:我的电脑(右键)--电脑属性--高级---环境变量---在PATH变量值最后加入 ;C:\windows\system32 ,即命令文件所在文件夹。也可以在PATH变量值最后加入 ;%SystemRoot%\system32 ,如果你的系统不是在C盘安装的话。
2.文件丢失:在该文件夹C:\windows\system32下找不到ping.exe。
解决方法:从其他人电脑上拷贝ping.exe到本人电脑C:\windows\system32
3.文件扩展名配置丢失或没有:
解决方法:我的电脑(右键)--电脑属性--高级---环境变量---在PATHEXT变量后加入.exe。如果你的more命令无法识别了,要在PATHEXT变量后加入 .com,因为在C:\windows\system32中,more对应的文件是more.com。
相关文章推荐
- 用命令连接mysql , 出现'mysql' is not recognized as an internal or external command错误解决
- 用命令连接mysql , 出现'mysql' is not recognized as an internal or external command错误解决
- 'telnet' is not recognized as an internal or external command 解决办法
- 'telnet' is not recognized as an internal or external command
- 'telnet' is not recognized as an internal or external command
- 'telnet' is not recognized as an internal or external command
- win8下mvn is not recognized as an internal or external command windows 8
- vs2010 'yasm' is not recognized as an internal or external command
- 'cordova' is not recognized as an internal or external command
- 'powershell' is not recognized as an internal or external command, operable program or batch file
- ’javac’ is not recognized as an internal or external command,operable program or batch file.
- 'winrar' is not recognized as an internal or external command, operable program or batch file.
- "name.bat" is not a recognized as an internal or external command,operable program or batch file
- 'VBoxManage' is not recognized as an internal or external command, operable program or batch file.
- 命令行如何编译单独的java文件--javac’is not recognized as an internal or external command
- “NODE_ENV” is not recognized as an internal or external command
- ‘mvn’ is not recognized as an internal or external command, operable program or batch file.
- 'django-admin.py' is not recognized as an internal or external command
- Is not recognized as an internal or external command
- 'DEVENV' is not recognized as an internal or external command,