Purpose:Show processes locking a file

 

Format:FILELOCK ]/C /F] filename

 

/C(lose)

/F(orce close)

 

Usage:

 

FILELOCK returns a list of the processes with a lock on the specified file, and optionally closes them to free the file.

 

Options:

 

/CRequests the process(es) close.

 

/FLike TASKEND /F, forces the process(es) to close.