在PowerShell中:
ls env:
# 或者
gci env:
# 或者
dir env:
# 又或者
Get-ChildItem Env:在命令行(CMD)中:
set查看系统信息
msinfo32参考链接:
https://stackoverflow.com/questions/5327495/list-all-environment-variables-from-the-command-line
问题翻译:https://www.itranslater.com/qa/details/2104239036498969600
 最后一次更新于2021-11-22
        

