# DirectoryInfo()

returns detailed info about the given directory.

**Introduced:** 6.0.0.151

```
DirectoryInfo( source=string );
```

**Returns:** struct

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| source | string | Yes | directory path *Alias: Directory* |  |

# Examples

```cfml
dump( directoryinfo( GetTempDirectory() ) );
```







# Categories

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

# See Also

[FileInfo()](fileinfo.md), [GetFileInfo()](getfileinfo.md)