Extended file information

This is a discussion on Extended file information within the Windows Programming forums, part of the Platform Specific Boards category; Is there a way to determine what files are being accessed by running processes on a system (when enumerating them ...

  1. #1
    uh oh
    Join Date
    Jan 2005
    Location
    Ontario, CA
    Posts
    66

    Extended file information

    Is there a way to determine what files are being accessed by running processes on a system (when enumerating them via EnumProcesses)? I want to see how many, and which ones are being accessed by the running programs.

    All I need is a function or website to start. I have been unable to find anything that could help me so far. Is this even possible, I imagine that it is since opening files creates a handle in windows so there must be a way to access that list? Or at least access the different file handle lists of each program?

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    There is no simple documented function that you can call, but have a look at the following links.
    http://www.sysinternals.com/ntw2k/source/filemon.shtml
    http://www.codeguru.com/Cpp/W-P/file...cle.php/c1287/

  3. #3
    uh oh
    Join Date
    Jan 2005
    Location
    Ontario, CA
    Posts
    66
    Thanks, those will be a great help. I'll have to read over them a bit later though... damn work! lol

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File transfer- the file sometimes not full transferred
    By shu_fei86 in forum C# Programming
    Replies: 13
    Last Post: 03-13-2009, 12:44 PM
  2. gcc link external library
    By spank in forum C Programming
    Replies: 6
    Last Post: 08-08-2007, 03:44 PM
  3. Replies: 3
    Last Post: 03-04-2005, 01:46 PM
  4. simulate Grep command in Unix using C
    By laxmi in forum C Programming
    Replies: 6
    Last Post: 05-10-2002, 04:10 PM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 01:58 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21