顯示、設置或刪除 cmd.exe 環境變數。 SET [variable=[string]] variable 指定環境變數名。 string 指定要指派給變數的一系列字元串。 要顯示當前環境變數,鍵入不帶參數的 SET。 如果命令擴展被啟用,SET 會如下改變:
blog.itpub.net