Solved

Can I get a list of open files?

Posted on 2003-10-24
3
217 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
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 Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

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…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
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 learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now