Hi Pat, Yes, it was exactly that. Thanks for pointing out my error.
w -----Original Message----- From: Patrick Farabee [mailto:[EMAIL PROTECTED] Sent: 05 February 2007 13:48 To: CF-Talk Subject: Re: cfdirectory delete - continued If this is direct cut and paste, then your problem could be after the first webdir_root variable.. In your file deletion, you have a slash after it, and in your directory deletion, you have no slash. If I were a betting man, I'd say that nothing is getting deleted.. the index.cfm can't be deleted because the path is wrong, and the directory can't be deleted because it isn't empty since the file deletion failed. -- Pat >here is the code: ><cffile action="delete" >file="#request.webdir_root#advertorials\#qry_getRecord.advertorial_name >#\ind >ex.cfm"> > ><cfdirectory action="delete" >directory="#request.webdir_root#/advertorials/#qry_getRecord.advertoria >l_nam >e#"> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:268671 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

