About the path
The Windows path is an environment variable that specifies the search path for finding installed programs. It is particularly useful for command-line programs, so the programs may be run by typing only the program name, without having to specify the installation directory of the program.
Viewing the path
Open the System Control Panel by searching for 'System' in the search box of the Windows task bar.
From Control Panel, click on Advanced System Settings
From System Properties, click on Environment Variables
From Environment Variables, in the System Variables section, highlight Path, then click Edit
The Windows path is now displayed. Each line holds a location that will be searched for an installed program.
If you install a new command line program, you must add the path of the program to the path, so it can be found.
In this example we have installed dcm4che3 into a directory named C:\imaging\dcm4che-3.3.8. The actual programs are in a subdirectory named bin, so the full path to the programs is C:\imaging\dcm4che-3.3.8\bin
To add a new path, click New and fill in the path to the newly-installed programs. Click OK to save.
To display the path in Powershell, type $env:path
To display the path in Command Prompt, type path