I would like to make a copy of a file many times while a programme is running. Since this file is write-protected The first copy works but I can't owerwrite the Write-protected file at the second copying. I always receive an error message: accessing denied. The same happens when I would like to delete the file.
I tried to solve the problem like this:
You are right because there was a txt file in the example.
Actually I would like to make a copy of all the files in a folder by means of a programme. These files are in different extension, for example: bmp, wav, ini etc. Some of them are write-protected and I can't change it.