Claude... I'm not having much luck, yet.
I'm trying to run this code: <cfexecute name="e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\pkzip25.exe" arguments = "-extract e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\MI20080901_031315_res_1.zip e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files -password bsz3xuYD" timeout="10" outputfile="e:\inetpub\webroot\real_estate_data\smlc\daily_downloads\zip_files\extract_log.txt" /> I tried to check the syntax in the livedocs, but I couldn't tell for sure if perhaps my "" were misplaced. I'm getting the outputfile correctly, but not unzipping is taking place. I'm only running CF 8.0.0.xxxx, and not CF 8.0.1, so I don't have access to the "errorFile" attribute that 8.0.1 added. Ideas? Thanks, Rick > -----Original Message----- > From: Claude Schneegans [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 02, 2008 10:19 AM > To: CF-Talk > Subject: Re: How can I unzip a password-protected zip file with cfzip? > > >>Would you mind sharing an example of how you use CFExecute > and the bat file to process a certain list of files? > > I just reopen the file were I use it, and I see that I don't use the bat > file anymore, this was in version 1.0. > Now I pass the parameter directly through CFEXECUTE: > > <CFEXECUTE NAME="#path#\PKZIP25.EXE" > ARGUMENTS = "-extract #path#\individus.zip #pathPhoto#\portrait" > TIMEOUT="10" > OUTPUTFILE="#path#\extract_log.txt" /> > > This example does not use password, but it would just be a matter of > adding the password parameter in > the list or arguments, ie: > ARGUMENTS = "-extract #path#\individus.zip -password myPassWord > #pathPhoto#\portrait" > > >>Haven't used CFExecute before, nor have I needed to deploy bat > >>file. I could tinker around and probably figure it out, but > >>a working example would be a great guide! > > There is nothing special to install in order to use CFEXECUTE, just make > sure > the tag is allowed in your server administrator. > > Look for the file PKZIP25.EXE, I can send it to you in private if you > don't find it. > Just drop it in some directory it can been executed. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311947 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4