windows windows netnr 发布于:25天前 更新于:25天前 76

Windows XP Environment Variables

Environment Variable Path
%AllUsersProfile% C:\Documents and Settings\All Users
%AppData% C:\Documents and Settings\Username\Application Data
%CommonProgramFiles% C:\Program Files\Common Files
%CommonProgramFiles(x86)% C:\Program Files (x86)\Common Files
%ComSpec% C:\Windows\System32\cmd.exe
%HomeDrive% C:\
%HomePath% C:\Documents and Settings\Username
%ProgramFiles% C:\Program Files\
%ProgramFiles(X86)% C:\Program Files (x86)\ (only in 64-bit version)
%SystemDrive% C:\
%SystemRoot% C:\Windows\
%Temp% and %Tmp% C:\Documents and Settings\Username\Local Settings\Temp
%UserProfile% C:\Documents and Settings\Username
%WinDir% C:\Windows\

Windows Vista, Windows 7, Windows 8/8.1 and Windows 10

Environment Variable Path
%AllUsersProfile% C:\ProgramData\
%AppData% C:\Users\Username\AppData\Roaming
%CommonProgramFiles% C:\Program Files\Common Files
%CommonProgramFiles(x86)% C:\Program Files (x86)\Common Files
%ComSpec% C:\Windows\System32\cmd.exe
%HomeDrive% C:\
%HomePath% C:\Users\Username
%LocalAppData% C:\Users\Username\AppData\Local
%ProgramData% C:\ProgramData\
%ProgramFiles% C:\Program Files\
%ProgramFiles(X86)% C:\Program Files (x86)\ (only in 64-bit version)
%Public% C:\Users\Public\
%SystemDrive% C:\
%SystemRoot% C:\Windows\
%Temp% and %Tmp% C:\Users\Username\AppData\Local\Temp
%UserProfile% C:\Users\Username
%WinDir% C:\Windows\

转载:https://www.askvg.com/list-of-environment-variables-in-windows-xp-vista-and-7/