How to edit path system variables in windows10
- Go to Control Panel -> System and Security -> System
Advanced system settingsin the left column
Environment Variablesbutton at the bottom
Environment Variableswindow, in the System variables tab select Path variable.
- Path should be the Path of the directory where file resides.
If you want
foo to be a command on command line.
You will have to add the following path to the path system variable :