If the file is opened through a share, you could use the following command:
net file | find /I "name of file"
will return a line with an ID, the filename and the account who is accessing the file.
net file ID /delete
closes the file.
HTH,
Erik
-----Original Message-----
From: Richard Sumilang [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 02, 2003 7:55 AM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Who is using my file?
I had a little problem today, my server is running Windows 2000 Server
and naturally it's sharing a few files. I tried opening a document on
the server but I could only open it in read only mode because someone
had it opened before me. Is it possible to tell from the server or my
workstation what user is using the file or at least what computer?
Thanks
Richard S.
List info : http://www.activedir.org/mail_list.htm
List FAQ : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/