GETTEMPFILE | |
Description
Creates a temporary file in a directory whose name starts with (at most) the first three characters of prefix. |
|
Returns
Name of a temporary file, as a string. |
|
Category
System functions |
|
Function syntaxGetTempFile(dir, prefix) |
|
See also
GetTempDirectory |
|
Parameters
|
|
Example<h3>GetTempFile Example</h3> <p>The temporary directory for this ColdFusion Server is <cfoutput>#GetTempDirectory()#</cfoutput>. <p>We have created a temporary file called: <cfoutput>#GetTempFile(GetTempDirectory(),"testFile")#</cfoutput> |
DIR | |
PREFIX | |