Please enable JavaScript to view this site.

Take Command / TCC Help v. 28

Navigation: TCC > Commands

FILELOCK

Scroll Prev Top Next More
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. If no process is locking the file, FILELOCK will return without displaying any output (including not showing any error messages).

 

Options:

 

/CRequests the process(es) close.

 

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