List environment variables from Command Prompt

Request: List the environment variables from Command Promt

To list one varibales , the syntax is like :

echo %path% 

To list all variables in command prompt. you can use :

set

 e.g:

C:Users caiyset

  you can also sent the output to a output file , which you can open it via notepad or whatever...

原文地址:https://www.cnblogs.com/weeky/p/3526825.html