GetTempDirectory()
Returns the full path to the currently assigned temporary directory
GetTempDirectory( unique=string );
Returns: String
Argument | Description | Default |
---|---|---|
unique
string,
optional
|
If true or not empty, creates and returns a unique temp directory, optionally prefixed Alias: prefix Introduced: 6.2.1.20 |
false |
Examples
dump(getTempDirectory());
See also
- File handling
- GetCurrentTemplatePath()
- GetTempFile()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)