WhoHas.exe Show Connections using/locking a File on NW v2.x - v4.x
Syntax: WhoHas <path & file> [/Cont] [/Wait]
Sample: WhoHas SYS:PUBLIC\NET$LOG.DAT /C
"WhoHas <path/file>" shows the connections and names
of users who currently access a specified file.
WhoHas also shows the byte range that is locked by a user.
"WhoHas <path/file> /Cont" shows the above information
in a loop until a key is pressed
"WhoHas <path/file> /Wait" waits until the file is unused.
This is useful in batch jobs needing sole access to a file.
This workstation based tool works with NetWare v2.1x - v4.x
It requires Supervisor or Operator privileges.
Public Domain in Borland Pascal by Wolfgang Schreiber