Windows Variables Flashcards
(30 cards)
What is the purpose of the variable %SystemRoot%?
The Windows root directory, usually C:\Windows
What is the purpose of the variable %ProgramFiles%?
The directory for 64-bit installed programs, usually C:\Program Files
What is the purpose of the variable %ProgramFiles(x86)%?
The directory for 32-bit installed programs on 64-bit systems, usually C:\Program Files (x86)
What is the purpose of the variable %AppData%?
The directory for user-specific application data, usually C:\Users\AppData\Roaming
What is the purpose of the variable %LocalAppData%?
The directory for user-specific local application data, usually C:\Users\AppData\Local
What is the purpose of the variable %CommonProgramFiles%?
The directory for common program files, usually C:\Program Files\Common Files
What is the purpose of the variable %CommonProgramFiles(x86)%?
The directory for common program files for 32-bit programs on 64-bit systems, usually C:\Program Files (x86)\Common Files
What is the purpose of the variable %SystemDrive%?
The drive letter of the system drive, usually C:
What is the purpose of the variable %UserProfile%?
The path to the current user’s profile, usually C:\Users\
What is the purpose of the variable %Temp%?
The directory where temporary files are stored, usually C:\Users\AppData\Local\Temp
What is the purpose of the variable %TMP%?
Another directory where temporary files are stored, usually C:\Users\AppData\Local\Temp
What is the purpose of the variable %Path%?
A list of directories searched for executables when a command is run
What is the purpose of the variable %ALLUSERSPROFILE%?
The directory for all users’ profile data, usually C:\ProgramData
What is the purpose of the variable %Public%?
The directory for public user profile, usually C:\Users\Public
What is the purpose of the variable %HOMEDRIVE%?
The drive letter associated with the user’s home directory, usually C:
What is the purpose of the variable %HOMEPATH%?
The path to the user’s home directory, usually \Users\
What is the purpose of the variable %COMSPEC%?
The path to the command-line interpreter, usually C:\Windows\System32\cmd.exe
What is the purpose of the variable %WINDIR%?
The Windows directory, usually C:\Windows
What is the purpose of the variable %SystemRoot%?
The same as %WINDIR%, the Windows root directory, usually C:\Windows
What is the purpose of the variable %ProgramData%?
The directory for application data for all users, usually C:\ProgramData
What is the purpose of the variable %USERNAME%?
The name of the current user
What is the purpose of the variable %COMPUTERNAME%?
The name of the computer
What is the purpose of the variable %USERDOMAIN%?
The domain of the current user
What is the purpose of the variable %USERDOMAIN_ROAMINGPROFILE%?
The domain of the user’s roaming profile