Please enable JavaScript to view this site.

Take Command / TCC Help v. 28

Navigation: TCC > Commands


Scroll Prev Top Next More
Purpose:Show processes locking a file


Format:FILELOCK [/C /F] filename



/F(orce close)




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).




/CRequests the process(es) close.


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