Get Process who is using a File.

I have a File used at the moment from a other programm.
how can I find that Programm/Process that uses this File?
Thank you all for any cooperation!
closed account (13bSLyTq)
Hi,

You can use the NT call - NtQuerySystemInformation to track the data about the process handles, names, files used and such.

There is a CodeProject article regarding this: http://www.codeproject.com/KB/shell/OpenedFileFinder.aspx?fid=422864&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=26&select=2277170

Good Luck!
Thank you a lot!
Topic archived. No new replies allowed.