Solved

Can I get a list of open files?

Posted on 2003-10-24
3
255 Views
Last Modified: 2010-04-01
I would like to be able to get a list of all files that are currently open/in-use, and also be able to figure out which process has these files open.  Is there any way to do such a thing?  MFC or no MFC, either way is fine by me.  This would have to work for Windows 9x, ME, XP, etc.

Thanks!
0
Comment
Question by:truth_happens_23
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
fsign21 earned 325 total points
ID: 9627251
I have done the similar task for UNIX... Here you have a link for finding out which process has an open file on a UNIX system
http://osr5doc.ca.caldera.com:457/OSAdminG/exam_files_open.html
However, I do not know, if this information is helpful for you on Windows . . .

For Windows, I found only this link
http://www.winnetmag.com/Article/ArticleID/14967/14967.html
0
 
LVL 9

Expert Comment

by:tinchos
ID: 10546128
No comment has been added lately, so it's time to clean up this question.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: fsign21 {http:#9627251}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question