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 got a virus and had to have my computer practically rebuilt resulting in losing my custom settings, etc. I just finished an online remote session with Geoff. He was amazingly helpful, patient and upbeat. He spent over 1½ hours with me. Not only did he help me with what I asked him for, he gave me a lot of additional information making my mailing process easier. I've been using AccuZIP for years now and have never taken the time to commend the company for its excellent customer service. I have had good experiences with all of your techs and will absolutely recommend you to anyone I know who needs this kind of software. Thank you for such a user-friendly, customer friendly program!
S.F., Kansas City, MO