I am trying to do this <cfdirectory action="list" name="Files" directory="#getDirectoryFromPath(GetBaseTemplatePath())#SoundFile" filter="*.zip">
<cfloop from="1" to="#Files.recordcount#" index="i"> <cffile action="delete" file="#getDirectoryFromPath(GetBaseTemplatePath())#SoundFile\#Files[i]#> </cfloop> Wats goin wrong here?????? >sorry, i should have specified that it returns a query object of the >files in the directory :) > >On 4/6/07, Charlie Griefer <[EMAIL PROTECTED]> wrote: >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274745 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

