Windows Variables Flashcards

(30 cards)

1
Q

What is the purpose of the variable %SystemRoot%?

A

The Windows root directory, usually C:\Windows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of the variable %ProgramFiles%?

A

The directory for 64-bit installed programs, usually C:\Program Files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the purpose of the variable %ProgramFiles(x86)%?

A

The directory for 32-bit installed programs on 64-bit systems, usually C:\Program Files (x86)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the purpose of the variable %AppData%?

A

The directory for user-specific application data, usually C:\Users\AppData\Roaming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of the variable %LocalAppData%?

A

The directory for user-specific local application data, usually C:\Users\AppData\Local

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of the variable %CommonProgramFiles%?

A

The directory for common program files, usually C:\Program Files\Common Files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the purpose of the variable %CommonProgramFiles(x86)%?

A

The directory for common program files for 32-bit programs on 64-bit systems, usually C:\Program Files (x86)\Common Files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the purpose of the variable %SystemDrive%?

A

The drive letter of the system drive, usually C:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the purpose of the variable %UserProfile%?

A

The path to the current user’s profile, usually C:\Users\

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the purpose of the variable %Temp%?

A

The directory where temporary files are stored, usually C:\Users\AppData\Local\Temp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the purpose of the variable %TMP%?

A

Another directory where temporary files are stored, usually C:\Users\AppData\Local\Temp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the purpose of the variable %Path%?

A

A list of directories searched for executables when a command is run

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the purpose of the variable %ALLUSERSPROFILE%?

A

The directory for all users’ profile data, usually C:\ProgramData

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the purpose of the variable %Public%?

A

The directory for public user profile, usually C:\Users\Public

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the purpose of the variable %HOMEDRIVE%?

A

The drive letter associated with the user’s home directory, usually C:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the purpose of the variable %HOMEPATH%?

A

The path to the user’s home directory, usually \Users\

17
Q

What is the purpose of the variable %COMSPEC%?

A

The path to the command-line interpreter, usually C:\Windows\System32\cmd.exe

18
Q

What is the purpose of the variable %WINDIR%?

A

The Windows directory, usually C:\Windows

19
Q

What is the purpose of the variable %SystemRoot%?

A

The same as %WINDIR%, the Windows root directory, usually C:\Windows

20
Q

What is the purpose of the variable %ProgramData%?

A

The directory for application data for all users, usually C:\ProgramData

21
Q

What is the purpose of the variable %USERNAME%?

A

The name of the current user

22
Q

What is the purpose of the variable %COMPUTERNAME%?

A

The name of the computer

23
Q

What is the purpose of the variable %USERDOMAIN%?

A

The domain of the current user

24
Q

What is the purpose of the variable %USERDOMAIN_ROAMINGPROFILE%?

A

The domain of the user’s roaming profile

25
What is the purpose of the variable %LOGONSERVER%?
The server used to authenticate the current user's logon
26
What is the purpose of the variable %NUMBER_OF_PROCESSORS%?
The number of processors installed on the computer
27
What is the purpose of the variable %PROCESSOR_ARCHITECTURE%?
The architecture of the processor (e.g., x86, AMD64)
28
What is the purpose of the variable %PROCESSOR_IDENTIFIER%?
The identifier of the processor
29
What is the purpose of the variable %PROCESSOR_LEVEL%?
The model number of the processor installed on the computer
30
What is the purpose of the variable %PROCESSOR_REVISION%?
The revision number of the processor