its give some error ,is it can be run in 4.coldfusion 4.5 version ?
sorry for the trouble
>> Thks Isaac
>
>
>> 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]

