Solved

Can I get a list of open files?

Posted on 2003-10-24
3
250 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

752 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