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

Share this post

Link to post
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

  • Create New...