in reply to Checking "Modify" property of the file on windows
One reason why you may not be able to delete a file, is that it is currently is use. There are solutions to that. Is that the case?
Update: To "delete" a file that is currently in use, rename it to something else and then delete that file name. Once a file is "opened" and the program has a file handle, that's all that matters. You can prevent new users from opening that file using the "name", but you cannot not stop folks who already have it "open" from continuing to use it with the filehandle.
|
|---|