This tutorial shows you how to delete undeletable files and folders. There are times when explorer.exe somehow locks files into place and won’t allow them to be deleted. In order to delete them you must close explorer.exe and use a command prompt to delete the file. You all Are familiar With such kind of ERROR in windows so how to Fix them.
Step 1:- Open a Command Prompt window and leave it open.
Step 2- Close all open programs.
Step 3:- Click Start, Run and enter TASKMGR.EXE
Step 4:- Go to the Processes tab and End Process on Explorer.exe.
Step 5:- Leave Task Manager open.
Step 6:- Go back to the Command Prompt window and change to the directory the AVI (or other undeletable file) is located in.
Step 7:- At the command prompt type DEL <filename> where <filename> is the file you wish to delete.
Step 8:- Go back to Task Manager, click File, New Task and enter EXPLORER.EXE to restart the GUI shell.
Step 9:- Close Task Manager.
Or you can try this :
Step 1:- Open Notepad.exe
Step 2:- Click File>Save As..>
Step 3:- Locate the folder where your undeletable file is
Step 4:- Choose ‘All files’ from the file type box
Step 5:- Click once on the file you wanna delete so its name appears in the ‘filename’ box
Step 6:- 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)
Step 7:- Click save,
Step 8:- 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 :
Step 1:- Start
Step 2:- Run
Step 3:- Type: command
Step 4:- To move into a directory type: cd c:\*** (The stars stand for your folder)
Step 5:- 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
Step 6:- Once your in the folder the non-deletable file it in type in dir – a list will come up with everything inside.
Step 7:- 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.
“ You can use antivirus to remove this error if then also the problem persists then you can use the following method”.