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

Returns path of file created

getTempFile(getTempDirectory(),"testFile")

Fork me on GitHub