Jump to content

(solved) Find file that are open in a specified process


Recommended Posts

I am trying to write a script which can detect the full path of files that are opened in a specified process.  For example, if I have multiple "windows image viewer" processes which are each displaying images, I am trying to detect the full paths of the image files that those instances of windows image viewer are displaying.  I have a feeling that the function, if it exists, that I am looking for would be in the user defined function Windows API section, but haven't found anything yet.  Also, it is important to note that, while the process is displaying the image, the file is not locked, so the function _WinAPI_FileInUse would not work in this case.

Edited by MattHiggs
Link to comment
Share on other sites

  • 2 months later...

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...