Hi all,

How do I check if a file has a read or write lock on it before copying
it to another server.

I need to be able to use a script batch file or Program, to check if
the file is open and then if it's not open I want to copy it to
another non Novell server.

I tried using Z:\Public\Flag.exe, part of the novell client command
line tools:

Flag path /m=1

It does not seem to actualy indicate if the file is open or not, or I
am not using it correctly.

I have looked at the Novell NDK and the Volume Administration object
and this does not have a method to do this.

The File system is NWFS and Server is Novell Netware 5.

Any ideas,