tldr/pages/windows/path.md
2018-07-03 09:39:52 +05:30

368 B

path

Display or set the search path for executable files.

  • Display the current path:

path

  • Set the path to one or more semicolon-separated directories:

path {{path/to/directory(s)}}

  • Append a new directory to the original path:

path {{path/to/directory}};%path%

  • Set command prompt to only search the current directory for executables:

path ;