- set 命令查看全部环境变量:
%AppData%(应用程序数据)、%TEMP%(临时文件夹)、%TMP%(临时文件夹) 、%LocalAppData%(应用程序本地数据)三个环境变量:
C:Usershasee>echo %appdata% C:UsershaseeAppDataRoaming C:Usershasee>echo %TEMP% C:UsershaseeAppDataLocalTemp C:Usershasee>echo %TMP% C:UsershaseeAppDataLocalTemp C:Usershasee>echo %LocalAppData% C:UsershaseeAppDataLocal
%SystemDrive%、%SystemRoot%、%windir%(windows directory)
C:Usershasee>echo %SystemDrive% C: C:Usershasee>echo %SystemRoot% C:Windows C:Usershasee>echo %windir% C:Windows