1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 13:42:07 +02:00
tldr/pages/windows/path.md
Emily Grace Seville c52cc074d9
windows/*.md: make placeholders more compatible with CLIP ones (#9872)
* Make placeholders more compatible with CLIP ones

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2023-02-20 15:23:49 +08:00

492 B

path

Display or set the search path for executable files. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/path.

  • Display the current path:

path

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

path {{path\to\directory1 path\to\directory2 ...}}

  • 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 ;