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

As a member of the NPOA board now, an additional word of appreciation for the long time support of our printers’ association. We cant do it without the support of our vendors, and AccuZIP has been GREAT!
B.K., Tampa, FL