Intermittent “File in Use” Error?

If you are using Windows XP, this may help : msdn.microsoft.com/en-us/library/dd99737....

If you are using Windows XP, this may help : msdn.microsoft.com/en-us/library/dd99737... Just an extract from the top of this page : "If you are running Windows XP or earlier, a delete operation on a file or directory that follows an enumeration could fail if there is an open handle that remains on one of the enumerated directories or files. " You may also use a software like Unlocker to identify the process locking your file.

I know it took some time to get to this, but this ended up being the source of the problem. Thanks. – SeanVDH Mar 30 at 16:24.

If the file is in use, then someone is most certainly using it. :) If you can access the server the files reside on, you can use a tool such as Process Explorer to find out which process has opened the file.

Except that nobody was. The process that might've been using it wasn't started because this part was failing, and there is only one person beside myself that would have been. I checked with him, and he confirmed that he had neither started the next process nor touched the files yet.

That also doesn't explain why this would be intermittent. – SeanVDH Mar 18 at 12:31 @SeanVDH Again, if Windows reports that the file is in use, then it is in use. Check who is using it with Process Explorer and deal with the issue from there.

– Håvard S Mar 18 at 12:33 Process Monitor would be better in this case -- allows logging of all accesses. Maybe hard to see transient accesses in Process Explorer. – Richard Mar 18 at 12:41.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions