"name" is just the name of the <cfdirectory> result set.. so if you
named it "MyCFDir", you would loop over the results with a regular
<cfoutput> or <cfloop>:
<cfloop query="MyCFDir">
</cfloop>
note that a cfdirectory will return "." and ".." every time... I always
forget that one and test for recordcount eq 0 instead of 2.
HTH
Jon
miles wrote:
>
> hi.
>
> Im new to this list...ive been looking for a list like this for
> ages...obviously I haven't looked too hard otherwise I would've
> found this a while ago!
>
> Anywho...my issue is this:
>
> <cfdirectory action="list" directory="c:\somedirectory\"
> name="??????" sort="name">
>
> what should go in the name value ? especially if I want to list the entire
> contents of the directory.
>
> Miles.
> ------------------------------------------------------------------------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
--
Jon Boehnker
[EMAIL PROTECTED]
-><-
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.