Support 805.461.7300
Sales
Our Technology. Your Success.

Rename and relocate the eReport.pdf with a command

NOTE:
Change the “C:\” to the path of your choice.
Change the name in the last set of quotes to the name that you would like to follow the file name

The command below will copy the file to the new location, leaving it in both locations. 

SET SAFETY OFF
COM_PDFFILEPATHNEW="C:\"
COPY FILE FORCEEXT(DBF(),"")+" EREPORTS.PDF" TO COM_PDFFILEPATHNEW+JUSTFNAME(FORCEEXT(DBF(),""))+" EREPORTS.PDF"

The command below will move the PDF and delete it from the original folder.

SET SAFETY OFF
COM_PDFFILEPATHNEW="C:\"
RENAME FORCEEXT(DBF(),"")+" EREPORTS.PDF" TO COM_PDFFILEPATHNEW+JUSTFNAME(FORCEEXT(DBF(),""))+" EREPORTS.PDF"

« Back to Commands

I just wanted to let your team know how much I appreciate you. I'm still fairly new at doing mail data processing, and it if weren't for your active support -- even for the not so smart questions -- I probably wouldn't be doing as well in this job as I am now. I have much more to learn as I have seen, but I just wanted to say thank you for your help! You all are wonderful!
T.B., Greenville, SC