IPath.GetTempFileName

Syntax

GetTempFileName: String;

Description

The GetTempFileName method creates a temporary file with a unique name and returns an absolute path to it.

Example

Sub UserProc;
Var
    s: String;
Begin
    s:=Path.GetTempFileName;
End Sub UserProc;

After executing the example a temporary file is created and the "s" variable contains its unique name.

See also:

IPath