User Guide

102 Chapter 2: ColdFusion Tags
cfdirectory
Description
Manages interactions with directories.
Category
File management tags
Syntax
<cfdirectory
action = "directory action"
directory = "directory name"
name = "query name"
filter = "list filter"
mode = "permission"
sort = "sort specification"
newDirectory = "new directory name"
recurse = "yes" or "no">
See also
cffile
History
ColdFusion MX 7: Added the recurse attribute (named recursive in Alpha 1) and directory
result-set column.
ColdFusion MX:
Changed behavior for action = "list":
On Windows, cfdirectory action = "list" no longer returns the directory entries "."
(dot) or
".." (dot dot), which represent "the current directory" and "the parent directory."
On Windows, cfdirectory action = "list" no longer returns the values of the Archive
and System attributes.
On UNIX and Linux, cfdirectory action = "list" does not return any information in
the
mode column.