Unable to delete file with empty filename

J

JeRhh

Please see the following screenshot:
http://img10.imageshack.us/img10/327/emptyfilenamew.png

chkdsk did not find any errors with the file system but I am having problems
deleting the file from both Windows Explorer and DOS

Deleting from Windows Explorer prompts an error message "Cannot delete file:
Cannot read from the source file or disk"

File properties shows 0 bytes although Windows Explorer shows 417KB

Other than formatting the drive to get rid of this particular file, is there
anything else I can try?
 
A

Alister

JeRhh said:
Please see the following screenshot:
http://img10.imageshack.us/img10/327/emptyfilenamew.png

chkdsk did not find any errors with the file system but I am having
problems
deleting the file from both Windows Explorer and DOS

Deleting from Windows Explorer prompts an error message "Cannot delete
file:
Cannot read from the source file or disk"

File properties shows 0 bytes although Windows Explorer shows 417KB

Other than formatting the drive to get rid of this particular file, is
there
anything else I can try?

You need to right click on the file, select Rename and give it a name - the
reason you cannot delete it is because the filesystem doesn't know what you
are referring to.

Once renamed it should be available to delete.

Alister
 
J

ju.c

These are the best apps for file deletion, all free.

Unlocker 237 KB
Info: http://ccollomb.free.fr/unlocker/
Download: http://ccollomb.free.fr/unlocker/unlocker1.8.7.exe

KillBox 90 KB
Info: http://www.killbox.net/
Download: http://www.killbox.net/downloads/KillBox.exe

FileASSASSIN 163 KB
Info: http://www.malwarebytes.org/fileassassin.php
Download: http://www.malwarebytes.org/fa-setup.exe

DelinvFile 600 KB
Info: http://www.purgeie.com/delinv/index.htm
Download: http://www.purgeie.com/dl/divfinst.exe


This is a trick to delete an undeletable file by restoring a
file over it with a file created with the same name using a
drive imaging program.

Instructions:

1. Create a text file and write in it some letters, anything.
2. Save that file in your root drive (C: for example) with the
same exact name and extension as the file you want to delete.
3. Now make a backup your new file (I used Acronis True Image).
4. Open your backup program and restore the file you created to
the folder where the undeletable file is, overwriting it.
4. Now you can delete it!
5. Run chkdsk.


ju.c
 
P

Pegasus [MVP]

JeRhh said:
Please see the following screenshot:
http://img10.imageshack.us/img10/327/emptyfilenamew.png

chkdsk did not find any errors with the file system but I am having
problems
deleting the file from both Windows Explorer and DOS

Deleting from Windows Explorer prompts an error message "Cannot delete
file:
Cannot read from the source file or disk"

File properties shows 0 bytes although Windows Explorer shows 417KB

Other than formatting the drive to get rid of this particular file, is
there
anything else I can try?

Make sure there is nothing worth keeping in the Temp folder, then delete the
whole Temp folder and recreate it.
 
N

nass

JeRhh said:
Please see the following screenshot:
http://img10.imageshack.us/img10/327/emptyfilenamew.png

chkdsk did not find any errors with the file system but I am having problems
deleting the file from both Windows Explorer and DOS

Deleting from Windows Explorer prompts an error message "Cannot delete file:
Cannot read from the source file or disk"

File properties shows 0 bytes although Windows Explorer shows 417KB

Other than formatting the drive to get rid of this particular file, is there
anything else I can try?



Try to delete it in Safe Mode.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top