Wednesday, November 18, 2009

Which process has a lock on a file

Many times one attempts to delete a file and windows reports that the file is in use by another program and hence cannot be deleted. Tracing out which program is using the file was a hassle.

 

With Windows Process Explorer, you can figure out which process is holding the lock on a given file.

 

Once installed and started, click on “Show Lower Pane (Ctrl + L)” on the tool bar. This will open up a listing below the list of the processes. Now click on a process and all files used by that process is listed in the lower pane.

No comments: