Is it possible to list all environment variables from a Windows\' command prompt?
Something equivalent to PowerShell\'s gci env: (or ls e
gci env:
ls e
As mentioned in other answers, you can use set to list all the environment variables or use
set
set [environment_variable] to get a specific variable with its value.
set [environment_variable]
set [environment_variable]= can be used to remove a variable from the workspace.
set [environment_variable]=