| Contents > CFML Reference > ColdFusion Functions > GetTempFile |
|
|
|
|
||
Creates a temporary file in a directory whose name starts with (at most) the first three characters of prefix.
Name of a temporary file, as a string.
GetTempFile(dir, prefix)
Parameter |
Description |
|---|---|
dir |
Directory name |
prefix |
Prefix of a temporary file to create in the directory dir |
<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>
|
|
||
| Contents > CFML Reference > ColdFusion Functions > GetTempFile |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/funct108.htm