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.
Asked
Active
Viewed 2.8k times
17
-
1You already mention ProcMon - how about FileMon? – J. Steen Nov 16 '12 at 16:05
2 Answers
32
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.

Dan Bechard
- 5,104
- 3
- 34
- 51

hmjd
- 120,187
- 20
- 207
- 252
-
3I have Process Explorer too. Where do you see File Handles? I only see Modules. – user236215 Nov 16 '12 at 19:22
-
9
-
1
Sysinternal Suite comes with handle.exe
for dumping within CLI:
handle
handle -a
handle -p 10832

Josh Correia
- 3,807
- 3
- 33
- 50

gavenkoa
- 45,285
- 19
- 251
- 303