mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 14:52:17 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
25
tldr/windows/path
Normal file
25
tldr/windows/path
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 o\directory1 path o\directory2 ...}}`
|
||||
|
||||
- Append a new directory to the original path:
|
||||
|
||||
`path {{path o\directory}};%path%`
|
||||
|
||||
- Set command prompt to only search the current directory for executables:
|
||||
|
||||
`path ;`
|
||||
Reference in New Issue
Block a user