Exclusion of Recycle Bin system folder does not work [SOLVED]

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Thy Grand Voidinesss
Posts: 690
Joined: Wed Jun 01, 2022 5:01 pm

Exclusion of Recycle Bin system folder does not work [SOLVED]

Post by Thy Grand Voidinesss »

This when put in the box of Search Edit works
!C:\
i.e. it hides everything located on the C volume - but this does not
!C:\$RECYCLE.BIN\
i.e. I still see in the main window all of the deleted content from said volume


I am using Everything 1.5.0.1367a x64 Portable on Windows 10 Enterprise 20H2 x64 [10.0.19042]
Last edited by Thy Grand Voidinesss on Fri Feb 16, 2024 10:03 am, edited 1 time in total.
horst.epp
Posts: 1445
Joined: Fri Apr 04, 2014 3:24 pm

Re: Exclusion of Recycle Bin system folder does not work

Post by horst.epp »

Thy Grand Voidinesss wrote: Sun Feb 11, 2024 9:35 am This when put in the box of Search Edit works
!C:\
i.e. it hides everything located on the C volume - but this does not
!C:\$RECYCLE.BIN\
i.e. I still see in the main window all of the deleted content from said volume


I am using Everything 1.5.0.1367a x64 Portable on Windows 10 Enterprise 20H2 x64 [10.0.19042]
Remove the trailing \
This works
!C:\$RECYCLE.BIN
Thy Grand Voidinesss
Posts: 690
Joined: Wed Jun 01, 2022 5:01 pm

Re: Exclusion of Recycle Bin system folder does not work

Post by Thy Grand Voidinesss »

horst.epp wrote: Sun Feb 11, 2024 5:25 pm [...]
!C:\$RECYCLE.BIN
It does nothing when combined with a Filter with such settings

Code: Select all

Search:
:\$recycle.bin\ !$I <<search:> | displayname:<search:> | original-location:<search:>> columns:dm;date-deleted;extension;size;path;length;displayname;original-location;name;type

Macro:
bin<search>
i.e. the expression from Search Box shows me content of all RECYCLE.BIN folders including the one from volume C which I am trying to get rid off from tle list with results


[And if I were to not use such kind of Filter [that I added for a quick access to list of deleted items] - then how this would suppose to work? It would be pointless to remove any RECYCLE.BIN folder as none of them get listed]
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Exclusion of Recycle Bin system folder does not work

Post by void »

!C:\$RECYCLE.BIN will not work with that filter.

Please try activating the Everything filter and using the following search:

!C:\$RECYCLE.BIN bin:
Thy Grand Voidinesss
Posts: 690
Joined: Wed Jun 01, 2022 5:01 pm

Re: Exclusion of Recycle Bin system folder does not work

Post by Thy Grand Voidinesss »

This seems to be working; thank you
mvdeckard
Posts: 29
Joined: Tue Oct 25, 2022 11:46 pm

Re: Exclusion of Recycle Bin system folder does not work [SOLVED]

Post by mvdeckard »

It's as simple as Options -> Indexes -> Exclude -> Add Filter -> $RECYCLE.BIN

Done. No need for drive letters.

Clipboard01.png
Clipboard01.png (7.06 KiB) Viewed 1512 times
Thy Grand Voidinesss
Posts: 690
Joined: Wed Jun 01, 2022 5:01 pm

Re: Exclusion of Recycle Bin system folder does not work [SOLVED]

Post by Thy Grand Voidinesss »

The above does not change how my Everything behaves i.e. I still need to use

Code: Select all

!C:\$RECYCLE.BIN bin:
which I added as a Bookmark for convenience
horst.epp
Posts: 1445
Joined: Fri Apr 04, 2014 3:24 pm

Re: Exclusion of Recycle Bin system folder does not work [SOLVED]

Post by horst.epp »

mvdeckard wrote: Sat Feb 17, 2024 11:22 pm It's as simple as Options -> Indexes -> Exclude -> Add Filter -> $RECYCLE.BIN

Done. No need for drive letters.


Clipboard01.png
$RECYCLE.BIN doesn't work, it's rejected as illegal name.
You can search for it and select Recycle.bin
But this will have no impact at all on the search results, even after a Rebuild.
______________________________________________________
Windows 11 Home x64 Version 23H2 (OS Build 22631.3155)
Everything 1.5.0.1367a (x64), Everything Toolbar 1.3.2
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Exclusion of Recycle Bin system folder does not work [SOLVED]

Post by NotNull »

mvdeckard wrote: Sat Feb 17, 2024 11:22 pm It's as simple as Options -> Indexes -> Exclude -> Add Filter -> $RECYCLE.BIN
As @mvdeckard said: Add it as a filter, not as a folder.
Tested: works.
horst.epp
Posts: 1445
Joined: Fri Apr 04, 2014 3:24 pm

Re: Exclusion of Recycle Bin system folder does not work [SOLVED]

Post by horst.epp »

NotNull wrote: Sun Feb 18, 2024 11:12 am
mvdeckard wrote: Sat Feb 17, 2024 11:22 pm It's as simple as Options -> Indexes -> Exclude -> Add Filter -> $RECYCLE.BIN
As @mvdeckard said: Add it as a filter, not as a folder.
Tested: works.
No, it doesn't, at least not for me.
It's added as a Filter, which is not shown as such in the configuration !?
Screenshot - 18.02.2024 , 14_25_31.png
Screenshot - 18.02.2024 , 14_25_31.png (17.41 KiB) Viewed 1477 times
Screenshot - 18.02.2024 , 14_27_13.png
Screenshot - 18.02.2024 , 14_27_13.png (19.21 KiB) Viewed 1477 times
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Exclusion of Recycle Bin system folder does not work [SOLVED]

Post by NotNull »

It looks like there's a <space> before $RECYCLE.BIN ?
horst.epp
Posts: 1445
Joined: Fri Apr 04, 2014 3:24 pm

Re: Exclusion of Recycle Bin system folder does not work [SOLVED]

Post by horst.epp »

NotNull wrote: Sun Feb 18, 2024 2:21 pm It looks like there's a <space> before $RECYCLE.BIN ?
You are right (for most of the time) :)
After removing the space, it works as desired.
Btw. one can't see if an Excluded entry is defined as Folder or Filter.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Exclusion of Recycle Bin system folder does not work [SOLVED]

Post by NotNull »

horst.epp wrote: Sun Feb 18, 2024 2:49 pm Btw. one can't see if an Excluded entry is defined as Folder or Filter.
True. For me: If it doesn't look like a folderpath, it's a Filter.
(workaround: Press the Edit button; either a Select Folder dialog appears or a Filter Edit dialog)
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Exclusion of Recycle Bin system folder does not work [SOLVED]

Post by void »

Btw. one can't see if an Excluded entry is defined as Folder or Filter.
They are all wildcard "filters".

If you specify an absolute path (for example: C:\Windows ), clicking Edit will show the Browse for folder dialog.
If you hold down Shift you can edit as a filter (also works in other Everything filter UIs)
Post Reply