Support 805.461.7300
Sales
Our Technology. Your Success.

Export database name with Date Stamp added to the name

After exporting a file with the Export Setup window, use this command to rename that exported file. Pull down the Edit menu to Command (or add an Edit > Command event to your script) and run this command:

copy file "C:\Program Files (x86)\AccuZIP6 5.0\Demo\demofile.csv" to "C:\Program Files (x86)\AccuZIP6 5.0\Demo\demofile-"+ALLT(STR(YEAR(DATE())))+PADL(ALLT(STR(MONTH(DATE()))),2,"0")+".csv"

In the command, change the path to the full path of the file and location that you're changing. This command assumes you're exporting a csv file.

« Back to Commands

I have gotten exceptional customer service from one of your employees. He has been unbelievably helpful onboarding me onto the software and he has taken the time to answer all of my questions and help me set up a lot of stuff that I needed to set up. He has gone above and beyond and has been extremely helpful and knowledgeable about the product. So far I love the product.
G.H, New Windsor, NY