Setting the PATH
Environment Variable
If you write batch files or scripts, it’s useful to put them into one folder and to add this folder name to the PATH
variable so that you can run your batch files and scripts simply by typing their names.
Because mis-editing the PATH
variable can prevent Windows from finding applications it needs to run, Windows gives the “personal” PATH
definition special treatment:
• For the PATH
variable, the User Variables definition is added to the end of (appended to) the System Variables definition.
• For all other environment variables, a User Variables definition overrides a System Variables definition.
In other words, you can enter your own personal folder(s) into the User Variables definition of PATH
without worrying ...
Get Windows 8 In Depth now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.