Is there a way to list all files that are currently opened by a specific process in Windows?
I mean files that got have an fopen
, but never got an fclose
by a specific process.
I tried to use Sysinternals Process Monitor, but I couldn't figure out how to list the current opened files – but only when the opening happens.
strace
on Linux, you can runstrace ls
and it will show you every single file opened from initialization. I'm here because this question ranks well and is titled generically enough, but gives no answer to my issue: Finding out what files are opened by a process that lasts less than 2 seconds. Process Explorer is especially frustrating here.