Software Development and Course Notes
Saturday, May 5, 2012
How to setup Environment Variables in Linux/Windows
Open your .bashrc, located in your /home/"user"/ and add this:
Start > Control Panel > System and Security > System > Click on "Advanced system settings" > Click on "Environment Variables"
Under user variables, click on "new" and then give your new variable a name such as "PATH" and for the Path, input the absolute directory of the file you wish to run.
For example: ";C:\Windows;C:\Windows\System32;C:\Program Files (x86)\Nmap;C:\Program Files (x86)\Python;C:\"
I have Nmap and Python executable from my Windows Command Prompt.
For Related Articles:
Share to Twitter
Share to Facebook
Share to Pinterest
Post a Comment
Please make suggestions :)
Post Comments (Atom)