Temp
From Environment Variables
Temp environment variable points to the default temporary folder that is used by the operating system and applications available to the currently logged on user. Some applications require Temp and others require Tmp — the values should be identical. [1]
echo %Temp%
C:\Users\{username}\AppData\Local\Temp
Default value
The default value of Temp environment variable depends on the operating system. In Windows XP the default value of Temp environment variable is %SystemDrive%\Documents and Settings\{username}\Local Settings\Temp, while on Windows Vista & Windows 7 it is %SystemDrive%\Users\{username}\AppData\Local\Temp.[2]
There are also machine-scope Tmp & Temp environment variables, by default they point to %SystemRoot%\Temp directory.
References
See also
AllUsersProfile | AppData | CD | ClientName | CmdCmdLine | CmdExtVersion | ComSpec | CommonProgramFiles | ComputerName | Date | ErrorLevel | HomeDrive | HomePath | LocalAppData | LogonServer | Number Of Processors | OS | Path | PathExt | Processor Architecture | Processor Identifier | Processor Level | Processor Revision | ProgramFiles | Prompt | Random | SessionName | SystemDrive | SystemRoot | Temp | Time | Tmp | UserDnsDomain | UserDomain | UserName | UserProfile | WinDir