Greetings, Ah neat... and this just became a 2 cents article :) I've used: http://www.bostonworkstation.com/customer_center/script_center/script_de tails.aspx?id=303&cat=20 to create a ZIP before.
I downloaded the IZARC command line stuff as was able to create a zip like you were wanting to do using: Shell_ """C:\Program Files\IZArc\IZARCC.exe"" c:\test\testMe.zip *.doc" The Shell_ command can launch applications or documents - in this case we're using it to launch an application. When an application supports parameters - like IXARCC does - you must be very careful with how you construct your command. (As an aside, one trick I like to do with "real applications" that take all sorts of parameters is to have the Shell_ command simply shell the .LNK file for the app. In this case, we do not have that luxury so to use this application.... Any of the parameters they specify in the documentation can be put after the """C:\Program Files\IZArc\IZARCC.exe"" The quotes and spaces are VERY important - note the use of two spaces after the .exe"" I found if I didn't have two, the first letter (c) for example would be left off with obvious bad consequences! Regards, Thom Thom C. Blackwell Product Manager Boston Software Systems (866) 653-5105 ex 807 www.bossoft.com Sign up for my weekly webinar! LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2008 12:09 To: Talk Subject: [talkbws] Zipping Files Does anyone know how to create a zip file at the end of a script using IZARC? I have a command line from IZARC, but it doesn't seem to be working. Izarcc test.zip *.doc -----> compress all *.doc files from current directory to archive test.zip Chrystal Clark Program Analyst I [EMAIL PROTECTED] Bert Fish Medical Center Phone: 386.424.6563 This transmission is for the use of the individual or entity named on this e-mail. Unauthorized disclosure or access may be prohibited by Public Law 99-474 (The Computer Fraud and Abuse Act of 1986), Public Law 104-294 (National Information Infrastructure Protection Act of 1996), 18 U.S.C. 1030, or other applicable criminal laws, and can result in administrative, disciplinary or criminal proceedings. This mail system, including this transmittal, may be internally monitored for all lawful purposes, including ensuring compliance with applicable privacy and security rules as specified by HIPAA and internal Bert Fish Medical Center policies. Transmission of unencrypted Protected Health Information is prohibited. Please reply to sender or contact Compliance at (386) 424-6470 if you have received this in error. --- To post a message to this list, send mail to: [email protected] You are currently subscribed as: [EMAIL PROTECTED] Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk .aspx --- To post a message to this list, send mail to: [email protected] You are currently subscribed as: [EMAIL PROTECTED] Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx
