How To Clean Up 0 Bite File
I have a file whose size is 0 bytes. When I attempt to remove it an error bulletin appears, saying "Could not find file".
Here is the list of things I've tried to delete the file:
- Rebooted
- Reset folder options
- Cleaned the registry with CCleaner
- Using the
del
command - Replacing it with a different file
The dir
command gives this information well-nigh the file:
25.06.2011 21:06 0 STALKER
File properties:
How tin can I remove it?
Run5k
15.1k 23 aureate badges 45 silver badges 61 bronze badges
asked Sep 7, 2011 at eighteen:09
AlexeyAlexey
363 one gilt badge three silvery badges 7 bronze badges
6
4 Answers 4
Effort del *.
from the control prompt while in the binder the file's in. It volition delete all the files in that folder that have no extension.
slhck
210k 62 gold badges 567 silver badges 563 bronze badges
answered Sep 8, 2011 at iv:06
Tyler FaileTyler Faile
2,832 two gold badges 27 silver badges 42 statuary badges
3
-
But there isn't any reason why Windows wouldn't be able to display its attributes (time, ACL), just because it has no extension. In this example it's most probable that the file had a trailing dot, which many Win32 programs will choke on.
February 19, 2013 at xi:33
-
This control won't work sometimes. In instance it fails, I institute another style to delete the file: ane. Obtain the 8.3 file name with
dir /x
command. ii. Delete the file withdel problem_file_in_8.3_format
. More than information virtually this: superuser.com/questions/388860/….Jan 31, 2015 at xix:27
-
This reply does not work for me. Just go the usual file not found mistake.
dir /ten
does not produce another proper name thandir
.Jun iii, 2016 at 10:05
Really the del *.
doesn't always piece of work. The best answer I have establish and then far is:
- Open up an elevated command prompt
- Enter
del "\\?\C:\Users\userX\0bytefile"
... and voila, the file is deleted. No need to restart or anything else, just demand to put \\?\
earlier the directory when using the del
command. Also use the tab button to make sure the name is right; sometimes a space is added at the end that can be easily missed.
An explanation can exist plant here: Why does this file apparently non exist when attempting to delete it?
answered Feb 19, 2013 at 11:22
2
-
This method worked for my file, which could not exist deleted using
del *.
or other tricks.Jun three, 2016 at ten:07
-
This approach worked for me.
Aug ii, 2021 at 22:19
I tin can tell you one affair, I've sad on it for nearly 25 min researching internet for answers and not even solutions here helped, honestly i call up people are trying to do it in the worst, most complicated way where there is and easy fix. I remembered old days, win98, xp dealing with the most complicated staff in systems because only wanted do more and more than and i remembered back in that location there was only 1 best fashion to really command all your files on a pc and i just got myself a total commander.
- Install
- Run as an Administrator
- Notice the file/binder
- Delete with your keyboard 'DEL'
Done!
answered Dec 24, 2016 at 20:31
You tin can also try to setup mutiboot with Linux. You can mount your Windows deejay and delete it, (every bit long as information technology's not encrypted).
I'd recommend Linux Mint. Merely download the .iso
file and burn down it to a deejay or create a bootable flash drive.
matan129
1,950 ii gold badges 17 silver badges 24 bronze badges
answered Sep 23, 2013 at 12:02
0
Non the respond you're looking for? Scan other questions tagged windows-vii or ask your own question.
Source: https://superuser.com/questions/332994/how-to-delete-an-invincible-0-byte-file
Posted by: mileyclus1971.blogspot.com
When you lot tried Del from the command prompt, did you try
del *.
to delete all files in the folder with no extension?Sep 7, 2011 at xviii:fifteen
@techio007 - since that worked, you should submit it as an Answer then yoz1k can mark information technology as correct. This volition make it easier for others with the same problem to find help. Thanks.
Sep 7, 2011 at 19:23
Wait, so
del stalker
didn't work, onlydel *.
did? Are you sure the filename didn't take a abaft space or something? If you hadn't deleted it, you would have wanted to bring upward its Properties Dialog again, and then pressEnd
in the filename field to see if there are any extra whitespace characters at the terminate.;-)
Sep 8, 2011 at 3:50
@Moab, information technology'due south not the same. That question was about a locked file, this one is non locked, it probably has an invalid filename. That's why the two questions have completely dissimilar answers (and if it were locked similar in the other question, the command in the solution wouldn't have worked).
Sep viii, 2011 at 3:52