installing pik in system path in windows

南笙酒味 提交于 2019-12-11 10:22:02

问题


I just installed pik (ruby version control) on my windows machine at work ( to C:\bin ), but it said that it's not installed in the system path, that I'll have to add it. I don't often use a windows machine. Can anyone show me how to do this?


回答1:


Setting Path on Windows

For Windows XP:

  1. Start -> Control Panel -> System -> Advanced
  2. Click on Environment Variables, under System Variables, find PATH, and click on it.
  3. In the Edit windows, modify PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value.
  4. Close the window.

For Windows Vista:

  1. Right click “My Computer” icon
  2. Choose “Properties” from context menu
  3. Click “Advanced” tab (“Advanced system settings” link in Vista)
  4. In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value.
(source)


In Windows 7 it is the same as in Vista, but there is also an option to set it from command line using setx program, as described here.



来源:https://stackoverflow.com/questions/8273110/installing-pik-in-system-path-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!