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>

Comments
BlogCFC was created by Raymond Camden. This blog is running version 5.9.002. Contact Blog Owner