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: FileCopy("C:\New.txt","C:\folder\New.txt",true) Thanks!