2018-07-02 09:18:10 +01:00
|
|
|
# path
|
|
|
|
|
|
|
|
> Display or set the search path for executable files.
|
2019-08-22 13:37:57 +01:00
|
|
|
> More information: <https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/path>.
|
2018-07-02 09:18:10 +01:00
|
|
|
|
|
|
|
- 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 ;`
|