Windows system path variables refer to locations of critical operating system resources, and as such generally are not user dependent. There is no environment variable that refers to the location of a user’s My Documents directory, so there is no setting a program’s home directory to be the user’s My Documents directory.
The table below shows typical default values of certain environment variables for Windows and are used with CMD.exe.
%ProgramData% %SystemDrive%\ProgramData
%ProgramFiles% %SystemDrive%\Program Files
%ProgramFiles(x86)% %SystemDrive%\Program Files (x86) (only in 64-bit version)
%ProgramW6432% %SystemDrive%\Program Files (only in 64-bit version)
%PUBLIC% %SystemDrive%\Users\Public
%SystemDrive% Usually C:\
%SystemRoot% C:\Windows
%TEMP% & %TMP% %SystemRoot%\TEMP (for system environment variables %TMP% and %TEMP%),
%USERPROFILE% \AppData\Local\Temp (for user environment variables %TMP% and %TEMP%)
%USERDOMAIN% {userdomain}
%USERNAME% {username}
%USERPROFILE% %SystemDrive%\Users\{username}
%windir% %SystemDrive%
%APPDATA%
%CommonProgramFiles%
%CommonProgramFiles(x86)%
%CommonProgramW6432%
%COMPUTERNAME%
%ComSpec%
%HOMEDRIVE%
%HOMEPATH%
>%LOCALAPPDATA%
%LOGONSERVER%
%OS%
%PATH%
%PATHEXT%
C:\Users\{username}\AppData\Roaming
C:\Program Files\Common Files C:\Program Files\Common Files
C:\Program Files (x86)\Common Files (only in 64-bit version)
C:\Program Files\Common Files (only in 64-bit version)
{computername}
C:\Windows\System32\cmd.exe
C:\
C:\users\{username}
C:\Users\{username}\AppData\Local
\\{domain_logon_server}
C:\Windows\system32
.com .exe .bat .cmd .vbs .vbe .js .jse .wsf .wsh .msc