您的位置:首页 > 运维架构 > Linux

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: