Many times, a situation comes, when we have to delete some files, but due to some reasons, it does not delete. It may be due to error while downloading that file or a virus attack. But now, using this new trick, you can easily delete such undeletable files.
There are three ways for deleting an undeletable file :
Here is the first method:
- Open a Command Prompt window and leave it open, Close all open programs.
- Click Start>>Run and enter TASKMGR.EXE
- Go to the Processes tab and End Process on Explorer.exe. Leave Task Manager open.
- Go back to the Command Prompt window and change to the directory the AVI (or other undeletable file) is located in.
- At the command prompt type DEL where is the file you wish to delete.
- Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell.
- Close Task Manager.
That’s it! your file will be deleted.
Or you can try this second method:
- Open Notepad.exe
- Click File>>Save As..>>
- Locate the folder where ur undeletable file is
- Choose ‘All files’ from the file type box
- Click once on the file u wanna delete so its name appears in the ‘filename’ box
- Put a ” at the start and end of the filename (the filename should have the extension of the undeletable file so it will overwrite it)
- Click save, It should ask u to overwrite the existing file, choose yes and u can delete it as normal.
Here’s a manual way of doing it:
- Go to Start>>Run
- Type: command
- To move into a directory type: cd c:\*** (The stars stand for your folder)
- If you cannot 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~1\kazaal~1
- Once your in the folder the non-deletable file it in type in dir – a list will come up with everything inside.
- Now to delete the file type in del ***.bmp, txt, jpg, avi, etc… And 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.


May 6th, 2009 at 11:55 pm
u got a lot of knowledge my friend…..jus keep up brushin your talent
May 7th, 2009 at 1:33 am
@ Nikhil
Thanks friend!
May 8th, 2009 at 7:58 am
Thanks for sharing the post. One useful post that I would bookmark.
May 11th, 2009 at 9:38 pm
The manual way can be a bit easier if you’d explain to directly go to the folder and then press shift+right click at an empty space in the folder view, then click on command prompt from here, by this, they won’t have to got to the folder by using cd command.
I even have a soft that can delete files even when they are used or no matter how so ever they are made undeletable, the soft can delete the file.
May 22nd, 2009 at 3:38 am
thanks ashish…..