In NT 4 (not sure about 2000) you can run winfile.exe and forcibly close any
open shares on a file so it can be replaced.
You may be able to see who has the file open as well ???
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Mark Derricutt
Sent: Thursday, 3 May 2001 11:40 AM
To: Multiple recipients of list delphi
Subject: [DUG]: Who has this file open?
Is there anyway to pragmatically find out which NT user has a file open?
i.e. I want to copy a new version of an exe to the testing server, but its
in use, anyway to get a listing saying "user1", "user3"?
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"