Modifying environmental variables in Windows

One of the more important system variables is called Path. This variable contains a list of directories separated by semicolons. Whenever you type a command into the command prompt, windows checks every directory in this list for an executable file with the same name. For example, if you type the command >javac *.java, windows will search each directory in Path looking for javac.exe (or some other for of executable). Setting this variable to include the path to the directory containing javac.exe allows this command to be accessed from any other directory.