Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copying files in PowerPlay macro

Status
Not open for further replies.

jodjim

Programmer
Nov 5, 2004
69
CA
My Powerplay macro creates PDF reports using the objPPRep.PDFFile command. Now I want to save a copy of this report to a different folder. It's like Copy c:\path1\filename to c:\path2\filename. Is there a command I can use and what's the syntax?

Thanks for the help.
 
There is; it's FileCopy.
Syntax required (as per your example) - FileCopy "c:\path1\filename.pdf", "c:\path2\filename.pdf"

soi la, soi carré
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top