GetTempPath: String;
The GetTempPath method returns the path to a temporary folder for the current system user.
Sub Main;
Var
s: String;
Begin
s:=Path.GetTempPath;
End Sub Main;
After executing the example, the "s" variable contains a path to a temporary folder for the current user.
See also: