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

We love the database and how simple it is for us to make simple codes as our business always has since 1955...We are grateful to you and your staff that take client service so seriously.
K.W., Hobe Sound, FL