How do I delete a 'locked' file?
Problem
On Windows XP, when I try and delete a specific file it says: Cannot delete blah.blah: Make sure the disk is not full or write-protected and that the file is not currently in use. How can I go around this warning and delete it anyway?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How do I delete a 'locked' file?
To successfully delete a locked file, you will need to identify the process which has locked the file. You need to exit the process first and then delete the file. To know which process has locked a file you need a tool such as Microsoft Sysinternals' Process Explorer (PE). Once you have PE installed ... Click the Find menu, and choose Find Handle or DLL ... Type the file name (name of the file which is locked by some process.) After typing the search phrase, click the Search button You should …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix