file is open over the network - how can I tell which machine has it open?

  • Thread starter Thread starter Ted Sung
  • Start date Start date
T

Ted Sung

Hi,

We have many machines which open files on our server. If file is
already in use (open for reading or writing) and I try to copy a new
file over the open
file, the copy fails. What I would then like to do is to identify
the computer that has the file open. I know I can get the user but I
really want to get the name of the computer (because we all share the
same user name). How can I do this?

Thanks,

Ted
 
Hi,

We have many machines which open files on our server. If file is
already in use (open for reading or writing) and I try to copy a new
file over the open
file, the copy fails. What I would then like to do is to identify
the computer that has the file open. I know I can get the user but I
really want to get the name of the computer (because we all share the
same user name). How can I do this?

Thanks,

Ted

Does this give you what you want?

Control > Administrative Tools > Computer Management > Shared Folders >
Sessions
 
BobC said:
Does this give you what you want?

Control > Administrative Tools > Computer Management > Shared Folders >
Sessions

Yes, that looks like what I need. Do you know if there is a Windows
API function that can return info displayed?

Thanks,

Ted
 
BobC said:
Does this give you what you want?

Control > Administrative Tools > Computer Management > Shared Folders >
Sessions

That's helpful but not quite what I need. This lists the machines
that have sessions but I want to figure out which machine holds which
file open. Any ideas?
 
Back
Top