> it would be gr8 help if u give that code
> i try to work on that ,face lots of problem in displaying
> i want to display like this
> Filename Path
> test.cfm c:\
> test1.cfm c:\
> test2.cfm c:\test
> testfile.cfm c:\test
> test3.cfm c:\test\test
> and so on...
> thanks in advance
> Vishnu
Oh that's easy then. :)
<cfset root = "c:\">
<cf_filemap
directory="#root#"
return="filemap">
<table>
<thead>
<tr>
<td>Filename</td>
<td>Path</td>
</tr>
</thead>
<tbody>
<cfoutput query="filemap">
<tr>
<td>#filemap.name#</td>
<td>#root##filemap.path#</td>
</tr>
</cfoutput>
</tbody>
</table>
You may need to add replace(path,"/","\","ALL") to get all the path
delimiters to match. You may also need to put a <cfif filemap.type is
"file"> inside the cfoutput tags to supress the display of directories
in your list.
s. isaac dealey 954.927.5117
new epoch : isn't it time for a change?
add features without fixtures with
the onTap open source framework
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

