Free "locked" files

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

Mike

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
 
R

Ricardo M. Urbano - W2K/NT4 MVP

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top