添加目录路径 Windows 8.1 [英] Adding a Path to Directory Windows 8.1

查看:64
本文介绍了添加目录路径 Windows 8.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我安装的 netbeans 8.02 IDE 配置 cygwin (c/c++) 编译器和工具.

I am configuring the cygwin (c/c++) compiler and tools for the netbeans 8.02 IDE I installed.

我已经成功安装了带有 c/c++ 插件的 netbeans.我现在需要的只是设置 c/c++ 编译器和工具.

I have successfully installed netbeans with the c/c++ plugin. All I need now is to set up the c/c++ compiler and tools.

我去了 cygwin.com,运行 setup-x86 64.exe 并成功安装.最后一步是我使用 netbeans IDE 正确配置 c/c++ 编译器和工具.

I went to cygwin.com, ran the setup-x86 64.exe and it installed successfully. There is one last step for me to properly configure c/c++ compiler and tools with the netbeans IDE.

最后一步:- 最后一步是将cygwin文件夹所在的目录添加到Windows中的Environment Variables中的路径.

THE LAST STEP: - the last step is to add the directory where the cygwin folder is located to the path in the Environment Variables in Windows.

为此,我遵循了以下步骤:

So to do this I followed these steps:

  1. 打开控制面板
  2. 在搜索工具中输入 var
  3. 点击编辑系统环境变量"
  4. 点击高级标签
  5. 点击环境变量
  6. 在所有者的用户变量"下方,我突出显示了 PATH
  7. 我选择了编辑按钮

...好吧,这就是我卡住的地方

... okay this is where I get stuck

在编辑用户变量"框中,我看到以下路径:

Inside the Edit User Variable Box I see this path:

C:\User\Ownder\AppData\Roaming\npm

C:\User\Ownder\AppData\Roaming\npm

...而且我不知道如何将 cygwin 目录添加到他的路径中.

... and I dont know how to add the cygwin directory to his path.

我试过了:

C:User\Ownder\AppData\Roaming\npm;C:\cygwin\bin

C:User\Ownder\AppData\Roaming\npm; C:\cygwin\bin

但这似乎并没有改变 Netbeans 中的任何东西.

but that didn't seem to change anything in Netbeans.

我还在谷歌上看到有一个 setx 命令我可以在 cmd 窗口中使用,但我还没有尝试过.我想看看你们有没有人能帮我找到解决办法.

I also saw on google that there is a setx command I could use in the cmd window but I haven't tried that yet. I want to see if any of yous can help me find a solution.

在此先感谢大家,非常感谢您的帮助

Thanks guys in advance and I really appreciate your help

:)

推荐答案

你应该重启你的机器然后检查.您的流程是正确的,应该可以工作.

You should Restart your machine and then check. your process is right it should work.

这篇关于添加目录路径 Windows 8.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆