We help IT Professionals succeed at work.

How to copy a CFile

Claus
Claus asked
on
Is there a simple way to copy a CFile?
CFile itself only has the Rename() method,
not a Copy() method.
Comment
Watch Question

Top Expert 2007
Commented:
CFile doesn't have a copy method that I can see. I use:

::CopyFile() or ::CopyFileEx()

Good Luck,
Steve

Explore More ContentExplore courses, solutions, and other research materials related to this topic.