set

Display or set environment variables for the current instance of CMD. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/set.

set

set {{name}}={{value}}

set {{name}}

set /p {{name}}={{prompt_string}}