Windows: Set Environment Variable - CMD & PowerShell - ShellHacks

PHOTO EMBED

Mon Jan 02 2023 12:57:13 GMT+0000 (Coordinated Universal Time)

Saved by @RLMA2

# Windows CMD
C:\> echo %VAR_NAME%

# Windows PowerShell
PS C:\> $env:VAR_NAME
content_copyCOPY

https://www.shellhacks.com/windows-set-environment-variable-cmd-powershell/