Skip to end of metadata
Go to start of metadata

GetEnvironmentVariable() enables to get get environmental variables like TEMP.

var tmp:string;
begin
	tmp := GetEnvironmentVariable('TEMP');
	.
	.
	.
end;

On Windows 10, its actual location will be similar to "C:\Users\Your User ID\AppData\Local\Temp"