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