If you don't specify a timeout for cfexecute, it doesn't wait for it to finish. Therefore, the process can still be running and the output file not ready. Add a timeout to your cfexecute call.
======================================================================= Raymond Camden, ColdFusion Jedi Master for Hire Email : [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Chris Edwards [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 10, 2002 4:46 PM > To: CF-Talk > Subject: weird error! > > > trying to run this, > <cfset count1 = #GetTickCount()#> > <cfexecute name="c:\ImageMagick\identify.exe" > arguments="#args#" > outputfile="c:\output"></cfexecute> > <cfset count2 = #GetTickCount()#> > <cfset duration = count2 - count1> > > <cffile action="read" file="c:\output" variable="imageinfo"> > > getting this: > Error processing CFFILE > > Error attempting to read 'c:\output.' The process cannot > access the file > because it is being used by another process. (error 32) > > > > why is cfexecute holding onto the file for so long??? > > > > > > -- > Chris Edwards > Web Application Developer > Outer Banks Internet, Inc. > 252-441-6698 > [EMAIL PROTECTED] > http://www.OuterBanksInternet.com > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm