I would like to list a specific directory and it's contents. I can't get the
code below
to display all the folders and files.
<table border="0" cellpadding="0" cellspacing="0" width="100%"
height="100%">
<tr valign="top">
<td>
<cfdirectory ACTION="List"
DIRECTORY="C:\"
NAME="DirList"
MODE="666"
SORT="name ASC">
<cfform ACTION="list.cfm"
METHOD="POST" ENABLECAB="Yes">
<cftree name="DirList"
align="LEFT"
height="400"
width="248"
font="Arial"
bold="No"
italic="No"
border="Yes"
hscroll="Yes"
vscroll="Yes"
required="No"
completepath="No"
appendkey="Yes"
highlighthref="Yes">
<cftreeITEM VALUE="Books">
<!--- DO CFLOOP IN HERE --->
<cftreeitem value="DirList"
parent="DirList"
img="document"
href="test.cfm"
queryasroot="No"
expand="Yes">
</cftree>
</cfform>
</td>
</tr>
</table>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

