ISHIR Blog

How to Find Out Folder or File is Held by which Process?

Many a times, we come across a scenario wherein we are not able to modify or delete folder or directory. However, this blog will explain you as to how we can find out which process is holding that particular folder or file. For this, we have to use a tool called “Process Explorer”. This is a freeware tool which is available on Internet.
Please find an example below for your reference.

 

Suppose if you try to delete the “Test” folder which is already opened in some other program, it will show the following warning prompt.

 

how to find out folder

 

 

Now, to find out which program or process is holding the “Test” folder, use “Process Explorer”. Launch ProcessExplorer.exe and go to “Find Handle or DLL…” option from “Find” tab as shown in below screen shot.

 

how to find folder 2

 

Now, provide the path of the folder or file for which you have to find the holding process. Please refer to the screenshot below –

 

how to find folder 3

 

 

as you click on the Search Button, it will show you the process or program holding the folder. You will see the following message -

 

how to find folder 4

 

In the same way, we can find out other process or program holding the target file.

 

Process Explorer can be downloaded from the link: http://technet.microsoft.com/en-in/sysinternals/bb896653.aspx

 

 

Posted by-

Pooja Pravin Aghav

 

 

Disclaimer: Developer’s Corner Section of ISHIR blog is contributed and maintained by independent developers. The content herein is not necessarily validated by ISHIR.

 

 

 

Tags: ,

One Response to “How to Find Out Folder or File is Held by which Process?”

  1. Samuel Hussain says:

    You have very Clearly mentioned the process. Nice write-up.

Leave a Reply

Solve this Simple Math
+ 2 = 11