mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 12:15:27 +02:00
set: add page
This commit is contained in:
parent
e3eaf922da
commit
c83b07deac
1 changed files with 19 additions and 0 deletions
19
pages/windows/set.md
Normal file
19
pages/windows/set.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
# set
|
||||
|
||||
> Display or set environment variables for the current instance of CMD.
|
||||
|
||||
- List all current environment variables:
|
||||
|
||||
`set`
|
||||
|
||||
- Set an environment variable to a specific value:
|
||||
|
||||
`set {{name}}={{value}}`
|
||||
|
||||
- List environment variables starting with the specified string:
|
||||
|
||||
`set {{name}}`
|
||||
|
||||
- Prompt the user for a value for the specified variable:
|
||||
|
||||
`set /p {{name}}={{prompt_string}}`
|
Loading…
Add table
Reference in a new issue