Free "locked" files

  • Thread starter Thread starter Spin
  • Start date Start date
S

Spin

Gurus,

I need a utility that will tell me what local process has a lock on a
certain file and that will free the lock as well. Something like
inuse.exe...
 
I use the "net file" command in the Command Prompt.

When you type in "net file" (no quotes), it'll list what
is in use and by who. There is a 6-digit number at the
front of each line. To release the lock, type in the
following at the prompt:

net file ###### /close

- Mike
 
I used to swear by net file as well, but then I found out the nasty
little secret about it: it will truncate long paths of open files.

Check out Jerold's site for info on a great freeware utility called
ofl.exe. Many more features and it doesn't truncate long paths.
 
Back
Top