Google search bar

January 14, 2009

That file isn't open!

I sometimes need to do something like delete a file and I can't because, according to windows, a program has the file open. Sometimes this happens because a process doesn't exit when you think it has.

Do you want to find out what program has a file open?

You can do it with a free program called ProcessExplorer.
In the program's Find menu choose 'Find Handle or DLL...' (Or press ctrl-F)
Enter a part of the file's name. Press enter. Voila! You now have a listing that includes the process id that has that file open. If you kill the process, you should have no trouble deleting that pesky file.

If you are not sure what killing a process is or if you should, then just restart the computer and that should fix the problem.

No comments: