Have you ever wondered why you can just type ipconfig into a command prompt and it works, but when you want to use a command line program you downloaded you have to navigate to its directory? Here’s how to fix that.
Adding a Folder To Your PATH
Press the Windows key to open up the Start Menu or Start Screen and then search for “advanced system settings”. You can alternatively browse through Control Panel to System and Security -> System and click on the Advanced system settings hyperlink in the left hand pane.
Once the System Properties window opens, you will need to click on the Environment Variables button.
The variable we are looking for is a System variable called Path, once you have found it, click on the edit button.
In order to add an entry to your path, you need to precede the folder name with a semi-colon. For example, if i want to add the How-To Geek folder which is on the root of my C drive to my path i would the following to the end of the Variable value field:
Now i can access any content within the How-To Geek folder without having to drill down into the directory.