Page 1 of 1

Compress a presort folder in a script

Posted: Tue Dec 16, 2008 4:04 pm
by Eric
If you want to compress a presort folder into a .zip file in a script, add this command to your script events:

Code: Select all

SET OLEOBJECT ON
oZipObject=CREATEOBJECT("dzactxctrl.dzactxctrl.1")
oZipObject.ItemList=["C:\Program Files\AccuZIP6 5.0\Demo\Presort Folder\*.*"]
oZipObject.ZIPFile=["C:\Program Files\AccuZIP6 5.0\Demo\Presort Folder.zip"]
oZipObject.ActionDZ = 4