getTempFile

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

getTempFile(dir, prefix) → returns string

getTempFile Argument Reference

dir string
Required

prefix string
Required

Examples sample code invoking the getTempFile function


Create temp file in temp dir

Returns path of file created

getTempFile(getTempDirectory(),"testFile")

Fork me on GitHub