GetTempFileName: String;
The GetTempFileName method creates a temporary file with a unique name and returns an absolute path to it.
Sub Main;
Var
s: String;
Begin
s:=Path.GetTempFileName;
End Sub Main;
After executing the example a temporary file is created and the "s" variable contains its unique name.
See also: