1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 01:24:55 +02:00
tldr/pages/windows/path.md
2019-08-22 12:37:57 +00:00

20 lines
476 B
Markdown

# path
> Display or set the search path for executable files.
> More information: <https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/path>.
- 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 ;`