GetTempFile()

Creates a temporary file in a directory whose name starts with (at most) the first three characters of prefix.

GetTempFile( dir=string, prefix=string );

Returns: String

Argument Description
dir
string, required

Directory name

prefix
string, required

Prefix of a temporary file to create in the dir directory

Examples

dump(GetTempFile(getTempDirectory(), "demo"));

See also