2

Possible Duplicates:
How do I delete a 'locked' file?
Tool to determine what has locked a file

While trying to remove an empty directory on Windows 2000, I am told that I can't do that, because the file is possibly opened.

As mentioned in "How do I delete a 'locked' file?", I tried the Unlocker, but it didn't seem to find anything. Also, I am not able to use the Process Explorer.

So on Windows 2000 server, how do I found out the process/program which opened the folder, and how do I make it unopen it?

EDIT: With a bit of luck I found out that once I killed one of the httpd process running (for a totally unrelated reason), I was able to remove the folder. The question are now: why didn't net file pick it up? And how would I have been able to detect the right process in the first place?

Eldros
  • 135
  • 1
  • 2
  • 11

1 Answers1

1

It may be the file is open from elsewhere, if you go to a command prompt and type

net file

this will list files that are open from remote workstations with id numbers to close a file the command is

net file  <ID No> /close
Col
  • 7,043