Prints or sets the value of the PATH environment variable.
$ path PATH=C:\Program Files\ConEmu\ConEmu\Scripts;C:\Program Files\ConEmu
path C:\Users\Joe Hoe\Scripts;%path%
Extends the path with
C:\Users\Joe Hoe\Scripts, applying only to the process of the cmd.exe.
Empties the path.
echo %path% | perl -pe "s/;/\n/g" | sort
Shows the folders in the path sorted if you have perl installed.
$ path /? Displays or sets a search path for executable files. PATH [[drive:]path[;...][;%PATH%] PATH ; Type PATH ; to clear all search-path settings and direct cmd.exe to search only in the current directory. Type PATH without parameters to display the current path. Including %PATH% in the new path setting causes the old path to be appended to the new setting.
Table Of Contents