mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
385 B
385 B
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}}