Linux下安装Android Studio
2015-08-08 22:43
429 查看
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.
> 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.
相关文章推荐
- linux安装mysql服务分两种安装方法
- Linux下查看机器公网IP
- Windows和Linux中android SDK是否通用的问题
- Linux中Eclipse开发android的配置问题
- 构造Linux 内核树
- Linux中vi文件保存退出命令“:wq"和":x”的区别
- linux下supervisor无法开机启动
- linux之uname命令
- Linux 网卡驱动学习(五)(收发包具体过程)
- 整理Linux关机命令
- Linux多线程【转载】
- CentOS下安装git
- linux /proc详解
- linux apt-get 之LAMP架设
- Linux中命令行和图形界面之间切换
- linux下mysql中文乱码和区分表名大小写
- 如何实时查看linux下的日志
- linux 使用外部设备的(光盘) 安装和更新库
- Linux学习之CentOS(十三)--CentOS6.4下Mysql数据库的安装与配置
- linux下的io多路复用形象化理解