How to get detailed list of open files locally and remotely.
Posted on 2005-03-04
I was wondering if there is a quick way that I can get a list of open files
from either a local PC or a remote PC? I have developed a component
that currently utilizes another utility to spit this information out to me . I
can also query other servers remotely using this utility. I parse the
output and return the users attached to a specific file.
What I want to be able to do instead is to create a self-contained
component that doesn't have to shell out to use the utility. I want to
iterate through the list of all open files on a user-specified machine
(could be local or remote), and pick up one specific file name giving
what user is attached to it.
If anyone can point me in the right direction, that would be cool.