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