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 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:

IPath