Delete an "undeletable" file

This is an "How To" advice with a few suggestions how to delete undeletable file. Often (mostly AVI's but also other files) can become "locked" by some processes and user can't delete file.
So, here are my solutions for this problem:
- 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 where undeletable file is located in.
- At the command prompt type DEL >filename< (where >filename< 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.
You can try this, also:
- 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 if you want to delete it, so its name appears in the 'filename' box
- put a " at the start and at the end of the filename (the filename should have the extension of the undeletable file so it will overwrite it)
- click save,
It should ask yu to overwrite the existing file, choose yes and yu can delete it as normal.
There's another way to do this:
This is a manual way of doing it.
1. Start
2. Run
3. Type: command
4. To move into a directory type: cd c:\xxx (xxx stand for your folder)
5. If you cannot access the folder because it has spaces for example Program Files 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
6. Once you're in the folder where the non-deletable file it is, type dir - a list will come up with everything inside.
7. Now to delete the file type 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.
World-Media what it is all about?
Vote Result










Score: 0.0, Votes: 0
- ilbiscom's blog
- Add new comment
- 63 reads

Technorati Tags: 
Recent comments
2 days 6 hours ago
2 days 6 hours ago
2 days 6 hours ago
2 days 10 hours ago
2 days 10 hours ago
2 days 10 hours ago
2 days 16 hours ago
2 days 17 hours ago
3 days 4 hours ago
3 days 9 hours ago