# GetTempDirectory()

Returns the full path to the currently assigned temporary directory

```
GetTempDirectory( unique=string );
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| unique | string | No | If true or not empty, creates and returns a unique temp directory, optionally prefixed *Alias: prefix* | false |

# Examples

```cfml
 dump(getTempDirectory());
```







# Categories

[File handling](../../categories/files.md)

# See Also

[GetCurrentTemplatePath()](getcurrenttemplatepath.md), [GetTempFile()](gettempfile.md)