авто

Переменные для Windows 7 x64 и x86

Environment Windows 7 x64


%ALLUSERSPROFILE% = C:\ProgramData

%APPDATA% = C:\Users\Name\AppData\Roaming
%CommonProgramFiles% = C:\Program Files (x86)\Common Files

%CommonProgramFiles(x86)% = C:\Program Files (x86)\Common Files

%CommonProgramW6432% = C:\Program Files\Common Files

%COMPUTERNAME% = Comp.Name

%ComSpec% = C:\Windows\system32\cmd.exe

%HOMEDRIVE% = C:

%HOMEPATH% = \Users\Name

%LOCALAPPDATA% = C:\Users\Name\AppData\Local

%LOGONSERVER% = \\Comp.Name

%OS% = Windows_NT

%Path% = C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\ (примерно)

%PATHEXT% = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC (примерно)

%ProgramData% = C:\ProgramData

%ProgramFiles% = C:\Program Files (x86)

%ProgramFiles(x86)% = C:\Program Files (x86)

%ProgramW6432% = C:\Program Files

%PUBLIC% = C:\Users\Public

%SystemDrive% = C:

%SystemRoot% = C:\Windows

%TEMP% = C:\Users\Name\AppData\Local\Temp (по умолчанию)
%TEMP% = %SystemDrive%\Temp Твик -
[HKEY_CURRENT_USER\Environment]
"TEMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,\
00,65,00,25,00,5c,00,54,00,65,00,6d,00,70,00,00,00

%TMP% = C:\Users\Name\AppData\Local\Temp (по умолчанию)
%TMP% = %SystemDrive%\Temp Твик -
[HKEY_CURRENT_USER\Environment]
"TMP"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,00,\
65,00,25,00,5c,00,54,00,65,00,6d,00,70,00,00,00

%USERDOMAIN% = Name Dom.

%USERNAME% = Name

%USERPROFILE% = C:\Users\Name

%windir% = C:\Windows

Для версии x86: заменить 3 строки на 1

%CommonProgramFiles% = C:\Program Files (x86)\Common Files
%CommonProgramFiles(x86)% = C:\Program Files (x86)\Common Files } %CommonProgramFiles% = C:\Program Files\Common Files
%CommonProgramW6432% = C:\Program Files\Common Files

и

%ProgramFiles% = C:\Program Files (x86)
%ProgramFiles(x86)% = C:\Program Files (x86) } %ProgramFiles% = C:\Program Files
%ProgramW6432% = C:\Program Files