How to check whether a file is open

by Feb 7, 2012

Hello,

there is a file stored on a server, a few people are permitted to edit. Now a script shall be implemented, that audits whether the file is open. In case it is currently open a new file must be created including the user's name.

So, how can i check if the file is already in use? "Openfiles" is not a proper method due to performance loss what I have already tried.

I hope anyone can help me.

Thanks in advance,

Chris