(re-sending)

btw it would be much easier to loop over the query object -as- a query
(instead of an index loop).

<cfloop query="Files">
     <cffile action="delete" file="#directory#\#name#" />
</cfloop>

On 4/6/07, Charlie Griefer <[EMAIL PROTECTED]> wrote:
> you tell me :)
>
> what's the issue.  getting an error?  files not being deleted?
>
> On 4/6/07, Deepak Gupta <[EMAIL PROTECTED]> wrote:
> > 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??????


-- 
Charlie Griefer

================================================
"...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed."

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274752
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to