Support 805.461.7300
Sales
Our Technology. Your Success.
Tech Notes

Export undeliverables in a script with watch folders

Use this two-line command to export your undeliverables. This command assumes you have the Script Monitor - Write Input Files command as the second event of your script

com_InputFilePath=FILETOSTR("Cleanup.ini")
COPY TO (FORCEEXT(com_InputFilePath,"")+"_undeliverable.dbf") FOR dpv_="N"

To export as comma-delimited text with the field names added as a header record:
 

COPY TO (FORCEEXT(DBF(),"")+"_undeliverable.dbf") FOR dpv_="N" TYPE CSV

To export as comma-delimited text with no header record:
 

COPY TO (FORCEEXT(DBF(),"")+"_undeliverable.dbf") FOR dpv_="N" TYPE DELIMITED

If you want to export specific fields, use this:
 

COPY TO (FORCEEXT(DBF(),"")+"_undeliverable.dbf") FIELDS first,last,zip FOR dpv_="N" TYPE CSV

« Back to Tech Notes

I was looking for an easy to use all-in-one postal software solution and was working with Satori Software. They quoted me $10,000.00 which was out of the realm of our budget. I was also lead to believe that they were the only solution, until I found Accuzip. I was able to save my company over $9,000.00 with one phone call to your courteous and knowledgeable sales staff. Your product does everything that we need and much much more. Thank you Accuzip!
J.S., Newark, OH