Sign in to follow this  
Followers 0
Undutchable

Files open (in use) by certain process

6 posts in this topic

Hi guys,

Will I be getting into a nightmare if I pursue a way to find which files a process is using (or open by it)?

From a quick googling I see it has to do with open handles and enumerating them?

Any help from AutoIt in terms of functions, even if API related?

Thanks and Cheers!

Share this post


Link to post
Share on other sites



Great Info TurionAltec :)

by wrapper you mean a FileInstall() with a later ShellExecute() ?

maybe a stupid question but still kinda novice here :party:

Thanks!

Share this post


Link to post
Share on other sites

Fileinstall yes.

I would user Run instead as you can use it to capture the Stdout of Handle.exe (the text output) and process it using stdoutread.

Also note, the registry entry:

HKEY_CURRENT_USER\Software\Sysinternals\Handle\EulaAccepted

will keep handle.exe from popping up the EULA.

Also note that you're "not supposed" to redistribute sysinternals tools, so it should be for your "own uses"

Share this post


Link to post
Share on other sites

Awesome!

Thanks to both!

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
Sign in to follow this  
Followers 0