copy files

Hi,
  After the end of month, I need to copy the previous log file to the archive directory. What the funnction, I can use it copy the file form "c:\apps.log" to "c:\archive\apps.log"?

Thanks!!
JC
jpchenAsked:
Who is Participating?
 
trestanConnect With a Mentor Commented:
You can use Win32 function CopyFile or MoveFile.
Or for console application, use system function.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.