Saturday, June 21, 2008

Delete An "undeletable" File

Delete An "undeletable" File

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.


Or you can try this

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. I'll 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 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
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... 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.

8 comments:

dan rogy said...

http://kindle2000.com

Do you have error messages?, like :

Path too long.
Error cannot delete file: cannot read from source file or disk
Cannot delete file: Access is denied
There has been a sharing violation.
Cannot delete file or folder The file name you specified is not valid or too long. Specify a different file name.
The source or destination file may be in use.
The file is in use by another program or user.
Error Deleting File or Folder
Make sure the disk is not full or write-protected and that the file is not currently in use.
Error Copying File or Folder.
Cannot remove folder.
The filename or extension is too long.
Path too deep.
Could not find this item.
Filename is not valid.
The file could not be accessed.
The path you entered, is too long. Enter a shorter path.
File Name could not be found. Check the spelling of the filename, and verify that the file location is correct.

http://kindle2000.com

Salman said...

Long Path Tool can help you to overcome these barriers by tweaking the file tree adequately to facilitate the modification or deletion of files. The unloading of locking process and other accompanying operations are being carried out by the cannot delete file fixer at a great pace.


http://cannotdeletefile.net

Online Ustaad said...

I had the similar problem and faced it a lot of times. I often solve this type of problems using "Long Path Tool". It helped me in solving this error and all related errors.

AttilaNab said...

Hello. i was also having the same issue but Long Path Tool helped me in this situation. You can see here PathTooDeep.com. It might help you.
Thanks and Regards,
Attila

stevenLoker said...

Basically, i Just download longPathTool. It fix the problem,deleting,copypaste,renaming file names are not easy. I let the program do it for me.

http://LongPathTool.com

Unknown said...

I agree to the past commenter "Long Path Tool" really solves the error.Guaranteed fix

Unknown said...

Long path tool can helpful for delete long name file. Thanks

kevin15 said...

Long Path Tool program is very useful. Try this!