Support 805.461.7300
Sales
Our Technology. Your Success.
Tech Notes

Compress and move all Mail.DAT files from the Presort folder

Use the command below to ZIP the Mail.dat files from the current presort folder to another location in a script!.

NOTE: You can change the "Move to" path that is currently set to the C:\

SET OLEOBJECT ON

com_FileName=FORCEEXT(JUSTFNAME(FILETOSTR("Cleanup.ini")),"")
com_PresortPath=ADDBS(JUSTPATH(DBF("_azqualification")))

oZipObject=CREATEOBJECT("dzactxctrl.dzactxctrl.1")
oZipObject.ItemList=["]+com_PresortPath+[Maildat.*]+["]
wait window oZipObject.ItemList
oZipObject.ZIPFile="C:\"+com_FileName+"_POSTALONE.zip"
oZipObject.ActionDZ = 4

« Back to Tech Notes

I want you to know that Christine has gone above and beyond to help me fix the problem. She has extraordinary customer service skills. She is a great asset to AccuZIP and their customers
R.K., Germantown, MD