Home > Commands N-Z > Commands N

NET FILE[S]


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Closes a shared file and removes file locks.

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.


Syntax

NET HELP FILE

NET FILE[S] [lock-id [/CLOSE]]

List open files on a server:

NET FILE[S]


Parameters
lock-id (NT3.1)
The identification number of the file.

Switches
/CLOSE (NT3.1)
Closes an open file, disconnect other users and remove file locks.

Related

none.


Notes

This command works only on computers running the Server service.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NT3.1 NT3.5 NT3.51 NT4 NTXP NT2003

Last Updated: 2006/12/01
Direct corrections or suggestions to: Rick Lively