Follow the steps below to delete a file which cannot be deleted:
1. Open a Command Prompt window and leave it open.
2. Close all open programs.
3. Click Start, Run and enter TASKMGR.EXE.
4. Go to the Processes tab and End Process on Explorer.exe.
5. Leave Task Manager open..
(After that there will be no desktop icons and nothing will be accessible. No worries. This is because of shutting down of explorer)
6. Go back to the Command Prompt window and change the directory as where the undeletable file is located in.
7. At the command prompt type DEL where is the file you wish to delete.
8. Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell.
9. Close Task Manager.
Or you may try this:
Open Notepad.exe
Click File>Save As..>
Locate the folder where your undeletable file is
Choose 'All files' from the file type box
Click once on the file which you want to delete where its name appears on the 'filename' box.
Put " signs at the start and end of the file name.
(The file name must have the same extension with the undeletable file. So, it can overwrite it.)
Click on save.
It should ask you to overwrite the existing file. Choose yes to delete it as normal.
Here is a manual way of doing it. I will take this off once you put into your first post zain.
1. Start
2. Run
3. Type: command
4. To move into a directory type: cd c:*** (The stars stand for your folder)
5. If you can't access the folder because it has spaces for example Program Files or Kazaa Lite folder you have to do the following. instead of typing in the full folder name only take the first 6 letters then put a ~ and then 1 without spaces. Example: cd c:progra~1kazaal~1
6. Once your in the folder the non-deletable file it in type in dir - a list will come up with everything inside.
7. Now to delete the file type in del ***.bmp, txt, jpg, avi, etc... If the file name has spaces you would use the special 1st 6 letters followed by a ~ and a 1 rule. Example: if your file name was bad file.bmp you would type once in the specific folder thorugh command, del badfil~1.bmp and your file should be gone. Make sure to type in the correct extension.
2 comments:
thanks ........ it worked in win 7 :)
thanks to this write-up, i was able to delete a stubborn *.flv file being run by COM Surrogate which i found out later to be a dll file. Here are the steps i did:
1. i opened taskmgr.exe
2. i opened the "Processes" tab, searched for 'COM Surrogate' in the Description column
3. i clicked on 'End Process' at the same time deleting the *.flv file which was in my Downloads folder.
4. repeat step 3 several times until the stubborn file is fully deleted.
5. double check if the file is really gone by doing a search.
Post a Comment