-
How to COPY Files?
This is a dumb question, but how can I, with Visual C++, copy one file to another path ?
I have dos functions that will do this, I'm not quite sure they will support the long filenames. Curiously there doesn't seem to have a Copy function in the CFile class.. but it has a rename..
Thank you.
-
Re: How to COPY Files?
You could try CopyFile...
-
Re: How to COPY Files?
Let's say that one was pretty easy.
I can't beleive I missed that!
-
Re: How to COPY Files?
you can use the ambiguously named api function CopyFile(...)
miked
-
Re: How to COPY Files?
CopyFile(yourfile, path+file)