Is it possible to show or get all environment variables in windows? I would like to check Java environment variables in my Windows 10 laptop, so how I can get it using a Command prompt or any other way?
Thanks
Open Command Prompt in your windows and type the below command
echo %PATH%
It will give you all the environment variables details of the Windows.
To get a list of all environment variables enter the command set
You need to use the following command instead: echo $Env:PATH
setx /m variable value
Hope it helps.