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
Solved

Can I get a list of open files?

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
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.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

839 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