view open file handlers for a process on windows

process, windows

Solution

Process Explorer can provide this information, though it is hidden by default.

To show handles: `View -> Lower Pane View -> Handles`

Process Explorer also allows you to search on a file name and determine which process has it opened.

Problem

I want to view open file handlers for a process on windows to verify the correct config file is read. ProcMon and other tools show referenced modules - dlls. I need to see open file handles to all files such as xml, txt, etc.

Original source