Error Deleting File or Folder

Wednesday 3rd of March, 2004 - 14:30 – Permalink

"Cannot delete FILENAME: There has been a sharing violation.

The source or destination file may be in use."

Ever wanted to just kill yourself after seeing this little error for the tenth time in three minutes? Me too. Today I found a solution, amazingly I never thought of searching for it before. Process Explorer by Sysinternals will tell you which program is holding on to the file you want to get rid of, after which you can proceed with closing the offending program and getting on with your business. Sweet.