in reply to Re: Check whether a file is openin thread Check whether a file is open
See thread of file locking. Mandatory locking exists (under some systems), but is not a solution.