windows display environment variables

Just docode

SET

You can also do SET prefix to see all variables with names starting with prefix.orm

for example if you want to read only derbydb from the enviorment variables do the following :get

set derby

and you will get the following :it

DERBY_HOME=c:\Users\amro-a\Desktop\db-derby-10.10.1.1-bin\db-derby-10.10.1.1-bin

 可使用set 命令顯示 全部的環境變量,而且後面加上名字能夠搜索變量中該關鍵字。io

也可使用 :變量

set|findstr 'name'搜索

相關文章
相關標籤/搜索