NET FILE closes a shared file and removes file locks. When used without options, it lists the open files on a server. The ...

NET FILE closes a shared file and removes file locks. When used without
options, it lists the open files on a server. The listing includes the
identification number assigned to an open file, the pathname of the file,
the username, and the number of locks on the file.

This command works only on computers running the Server service.

id      Is the identification number of the file.
/CLOSE  Closes an open file and removes file locks. Type this command
        from the server where the file is shared.

NET HELP command | MORE displays Help one screen at a time.