How can i found which process access my file?
-
I have a file. I want found the process/handle by which my file is opened?
Ambarish Jana
-
I have a file. I want found the process/handle by which my file is opened?
Ambarish Jana
Well, if you want to find out what process is locking a file you can use this little utility http://www.dr-hoiby.com/WhoLockMe/[^] That's a tool not a programmatic method so if its the latter you're after it won't help.
Regards, Rob Philpott.
-
Well, if you want to find out what process is locking a file you can use this little utility http://www.dr-hoiby.com/WhoLockMe/[^] That's a tool not a programmatic method so if its the latter you're after it won't help.
Regards, Rob Philpott.
Here is an example in c++. You can use P/Invoke to port it to c# Deleting Locked Files[^]
Giorgi Dalakishvili #region signature my articles #endregion