sharizod
asked on
How to get detailed list of open files locally and remotely.
Hi experts,
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.
TIA,
Shar.
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.
TIA,
Shar.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you Vinnyd79!! That's EXACTLY what I was looking for!!!
Full points to you!
Cheers!
Full points to you!
Cheers!
ASKER
VinnyD,
I can't seem to make it work for any machine but on the local LAN. We have several
servers that are local but route through the internet in our VPN. Any words of
wisdom? If it works for the local LAN by IP or name, should the code in the
MVPS link above also work across a VPN??
I can't seem to make it work for any machine but on the local LAN. We have several
servers that are local but route through the internet in our VPN. Any words of
wisdom? If it works for the local LAN by IP or name, should the code in the
MVPS link above also work across a VPN??
>> IM