Answered by:
List processes currently accessing a file?

Question
-
What the title says, basically - is there a way to pull up a list of all the processes who are currently using a specified file, whether in read or write mode, asynchronously or not?
C# newbie, learning on the go. I will probably ask a lot of followup questions about any answers already given, so fair warning and all.
Sunday, September 23, 2012 5:20 AM
Answers
-
Hi, here I the solution you are looking for:
http://stackoverflow.com/questions/860656/how-does-one-figure-out-what-process-locked-a-file-using-c
Mitja
- Proposed as answer by Jason Dot Wang Tuesday, September 25, 2012 5:54 AM
- Marked as answer by Jason Dot Wang Monday, October 1, 2012 3:10 AM
Sunday, September 23, 2012 5:38 AM -
Hello, you can use Process Monitor
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
please Mark as the Answer, If this answers your question. If this post is helpful, please vote as helpful.
- Proposed as answer by Jason Dot Wang Tuesday, September 25, 2012 5:54 AM
- Marked as answer by Jason Dot Wang Monday, October 1, 2012 3:10 AM
Sunday, September 23, 2012 5:39 AM
All replies
-
Hi, here I the solution you are looking for:
http://stackoverflow.com/questions/860656/how-does-one-figure-out-what-process-locked-a-file-using-c
Mitja
- Proposed as answer by Jason Dot Wang Tuesday, September 25, 2012 5:54 AM
- Marked as answer by Jason Dot Wang Monday, October 1, 2012 3:10 AM
Sunday, September 23, 2012 5:38 AM -
Hello, you can use Process Monitor
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
please Mark as the Answer, If this answers your question. If this post is helpful, please vote as helpful.
- Proposed as answer by Jason Dot Wang Tuesday, September 25, 2012 5:54 AM
- Marked as answer by Jason Dot Wang Monday, October 1, 2012 3:10 AM
Sunday, September 23, 2012 5:39 AM