Have you ever tried to delete a file in
Windows Explorer and received the error message that it could not
delete the file because it was in use? This can happen even when
you know for a fact that the file is not in use.
You may open a command prompt and try to delete
the file with the Delete
command. But this method also fails.
Here's how you can delete an "undeletable"
file. Follow these steps:
- Close all open programs.
- Open a command prompt.
- Right-click the taskbar, and select Task
- On the Processes tab, select Explorer.exe,
and click the End Process button.
- Minimize Task Manager, but don't close
- At the command prompt, use the Delete command to remove the
file, and close the command prompt.
- In Task Manager, go to File | New Task
- In the Create New Task dialog box, enter Explorer.exe, and click
- Close Task Manager.