windows的系统变量

在Windows cmd小黑框里输入set命令,可以查看现有的系统变量

windows的系统变量

  “="前的部分就是变量名。

%USERPROFILE% =C:\Users\用户名
 
%SystemRoot% =C:\WINDOWS
 
%SystemDrive% =C:
 
%APPDATA% =C:\Users\用户名\AppData\Roaming
 
%LOCALAPPDATA% =C:\Users\用户名\AppData\Local
 
%windir% =C:\WINDOWS
 
%Path% =C:\Windows\system32;C:\Windows; 
 
%ProgramData% =C:\ProgramData
 
%ProgramFiles% =C:\Program Files
 
%ProgramFiles(x86)% =C:\Program Files (x86)

%ALLUSERSPROFILE% =C:\ProgramData
 
%CommonProgramFiles% =C:\Program Files\Common Files
 
%CommonProgramFiles(x86)% =C:\Program Files (x86)\Common Files
 
%CommonProgramW6432% =C:\Program Files\Common Files
 
%COMPUTERNAME% =MyPC
 
%ComSpec% =C:\WINDOWS\system32\cmd.exe
 
%HOMEDRIVE% =C:
 
%HOMEPATH% =\Users\用户名
 
%LOGONSERVER% =\\MicrosoftAccount
 
%OS% =Windows_NT
 
%ProgramW6432% =C:\Program Files  
 
%PUBLIC% =C:\Users\Public 
 
%TEMP% =C:\Users\用户名\AppData\Local\Temp
 
%TMP% =C:\Users\用户名\AppData\Local\Temp
 
%USERDOMAIN% =MyPC 
 
%USERNAME% =用户名
上一篇:BeyondCompare3 许可密钥过期解决方法


下一篇:谷歌浏览器的缓存文件在