Forum Moderators: open
Recently, whilst running a batch-file on XP (works it's way through many gig of files, producing MD5's for each file) I have started to get the following error message for one or more files:
The process cannot access the file because it is being used by another process.
I am very concerned that either Windows and/or HDD is showing early signs of breakdown. The computer is less than a year old.
The question is the obvious one: does anyone have the diagnosis of these faults?
When a process closes, all handles are released including open files. Some processes hold on to (file) handles longer than they should and that can cause problems.
You need to identify which process is at fault. Try the following...
[sysinternals.com...]
I haven't used this for a while, but I think it will tell you what files a process has open.
Kaled.
I am, however, still left with the original issue:
Which process is locking the files?
Last night, I set Explorer off to look for files of 1kB or less within the relevant folders, to try to answer your question. This morning there are 11,503 such files, but not one is 0kB, so I cannot answer you question.
The next time I do some more file management + find this problem, I shall post back to you.