cfdirectory example
Following is an example to show the usage of cfdirectory.
<!--- List all files in the current directory. --->
<cfdirectory
action="list"
directory="#ExpandPath( '.' )#"
listinfo="name"
name="dirlist"
/>
<!--- Output file list. --->
<cfdump var="#dirlist#" label="All Files">
<br>
<cfdirectory
action="list"
directory="#ExpandPath( '.' )#"
listinfo="name"
name="dirlist"
/>
<!--- Output file list. --->
<cfdump var="#dirlist#" label="All Files">
<br>

There are no comments for this entry.
[Add Comment]