Quite often when I try to remove a folder in WinXP, I get the error message:
Cannot remove folder "folder name": There has been a sharing violation. The source or destination file may be in use. However, I can remove all of the files inside the folder, but not the folder itself. Also, I noticed that the folder can be deleted if I kill the explorer.exe process or restart the computer.
Had anybody else experienced this? Today I decided to find out what was causing the problem. I found
what is the problem, but not
why it's happening. The problem is that the explorer.exe has an file handle open in the folder. When I forced the handle to close, I could remove the folder as usual.
So, has anybody any ideas why the explorer.exe leaves an open handle there? Any other explanations than the obvious: XP sucks