user236215
user236215

Reputation: 7546

view open file handlers for a process on windows

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.

Upvotes: 17

Views: 32982

Answers (2)

gavenkoa
gavenkoa

Reputation: 48733

Sysinternal Suite comes with handle.exe for dumping within CLI:

handle
handle -a
handle -p 10832

Upvotes: 1

hmjd
hmjd

Reputation: 121961

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.

Upvotes: 33

Related Questions