I am using CopyFile to make periodic backup copies of certain files on a PC. However, these files might have been opened for writing by other applications at the time I call CopyFile and I am concerned that this may cause problems, either with the application writing to the file or with the copy operation itself.
Is there a way to copy files that are already opened (for writing)?
Apologies if this is posted twice, something went wrong signing in!
What I have tried:
I looked at the Volume Shadow Copy service but this appears to be for complete volume backups and not just specific files.