7

Sometimes the update process of our application fails to rename a directory on the user's machine. Is it possible to easily find out with a standard Windows command line tool (no GUI application) which process has "open" a certain directory or file below the very directory, so we can tell the user to close that process?

Thomas S.
  • 833

2 Answers2

11

Process Explorer from Microsoft isn't included with Windows by default but is from Microsoft and can do this. Download and install the tool from that link, run it, go to Find -> Find Handle or DLL, and enter the path to the file or directory, and it will return a list of processes with a handle to it.

erobertc
  • 653
0

You can use unlocker program, the easiest and fastest way, google it its free