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?
Asked
Active
Viewed 4,237 times
2 Answers
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