Jump to content

How to retrieve file path opened by process by process PID


Recommended Posts

I want to get the full path of some file opened by some process

for example multiple notepad processes are running and I got the PID for each notepad.exe process so when using

_ProcessGetPath

I get the path of notepad.exe not the file.txt which opened by process, Now how to retrieve the txt file path ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...