files not removed from results list after being deleted (1388)

Found a bug in "Everything"? report it here
Post Reply
jimspoon
Posts: 194
Joined: Tue Apr 26, 2011 11:39 pm

files not removed from results list after being deleted (1388)

Post by jimspoon »

I had all files included in the results list (blank search bar), sorted by size. I noticed several very large files (Ubuntu ISOs) that I didn't need anymore, so I deleted them (from the results list). I got the prompt that they were too big to go into the recycle bin, so I clicked the button to delete them. Some of the files remained in the results list, but they are no longer in the Path folder. If I attempt to delete them from the results list, I get an error message: "Unable to delete. Error 2: The file was not found or the filename is too long." Oddly, the filenames shown are 8.3 filenames. Running 1388a.

Image
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: files not removed from results list after being deleted (1388)

Post by therube »

The files are physically gone from the disk?
Were the files originally named in an 8.3 format*?
Did they originally display in an 8.3 format, in Everything, or was it more like, 'ubuntu-24.04.1-desktop-amd64.iso'?


*Format.
A file, well, the way I see it, may in fact be 8.3 or a file could be named an 8.3 manner.
If you, DIR > UBUNTU~2.ISO, the file will have an 8.3 type name, but it actually has no SFN(8.3).
A DIR /X U*.ISO would show that.
void
Developer
Posts: 17149
Joined: Fri Oct 16, 2009 11:31 pm

Re: files not removed from results list after being deleted (1388)

Post by void »

This is a limitation with the USN Journal and Everything.

The USN Journal can sometimes log the wrong filename.
It will depend on the software used to edit the file and how it was opened.

You'll need to force a rebuild to remove these non-existent files:
  • In Everything, from the Tools menu, click Options.
  • Click the Index tab on the left.
  • Click Force Rebuild.
  • Click OK.
-or-

Type in the following search and press ENTER:
/reindex c:

(where c: is the drive to reindex)



To disable short filenames:
  • From a command prompt, run the following command:
    fsutil.exe behavior set disable8dot3 1


I have added to my TODO list to remove the non-existent files when you press Delete and the file doesn't exist.
jimspoon
Posts: 194
Joined: Tue Apr 26, 2011 11:39 pm

Re: files not removed from results list after being deleted (1388)

Post by jimspoon »

therube wrote: Fri Dec 13, 2024 5:05 pm The files are physically gone from the disk?
I think so. They aren't listed in File Explorer anymore, only in Everything.
therube wrote: Fri Dec 13, 2024 5:05 pm Were the files originally named in an 8.3 format*?
Did they originally display in an 8.3 format, in Everything, or was it more like, 'ubuntu-24.04.1-desktop-amd64.iso'?
The latter - I think the 8.3 file names shown in the results list may be the result of what Void is talking about, i.e. the USN journal sometimes logging the wrong filename.
jimspoon
Posts: 194
Joined: Tue Apr 26, 2011 11:39 pm

Re: files not removed from results list after being deleted (1388)

Post by jimspoon »

Thanks Void! The non-existent 8.3 filenames aren't bothersome to me, just wanted to make sure you were aware of this little glitch.
Post Reply