windows - List all environment variables from command line? -


I would like to know if it is possible to list all the environmental variables from the Windows Command Line.

Something like PowerShell GC NY: (or LS NV: or DIIR NY: ).

just do

  SET   

You can also do SET prefix

for example to see all the variables with names beginning with prefix > if you If you want to read just derbydb from the Environment variable, do the following:

  set derby   

and you will get the following:

  DERBY_HOME = c: \ users \ amro-a \ desktop \ db -bd-10.10.1.1-bin \ db-derby-10.10.1.1-bin    

Comments