Exclude files in Recycle Bin when searching

Bugs and issues.
Post Reply
Message
Author
LikesFreeStuff
Posts: 8
Joined: 11.12.2020, 20:33

Exclude files in Recycle Bin when searching

#1 Post by LikesFreeStuff » 11.12.2020, 20:39

Hi,

I'm trying to exclude the Recycle Bin in searches. I typed this in the Filters tab then "Exclude files" field: *$RECYCLE.BIN*
When searching file content containing text in the Location tab, the results show a lot of files in the Recycle Bin.

Am I doing something wrong, or is this a bug?

Using:
FreeCommander XE 2020 Build 810a 32-bit public
Windows 10 Home

Timon
Posts: 729
Joined: 13.09.2012, 08:51

Re: Exclude files in Recycle Bin when searching

#2 Post by Timon » 11.12.2020, 21:38

'Search files/folders' - in the field 'File name:' type *.* -\*recycler

On my PC Recycle Bin has directory name 'Recycler' (check yours)

LikesFreeStuff
Posts: 8
Joined: 11.12.2020, 20:33

Re: Exclude files in Recycle Bin when searching

#3 Post by LikesFreeStuff » 11.12.2020, 22:14

In File Explorer, I see "Recycle Bin" - not Recycler. During a search, at the bottom it shows it is searching D:\$RECYCLE.BIN\ .....

But isn't your suggestion for searching the recycle bin? I want to exclude the recycle bin.

Timon
Posts: 729
Joined: 13.09.2012, 08:51

Re: Exclude files in Recycle Bin when searching

#4 Post by Timon » 13.12.2020, 15:10

See hints for the field 'File name:' in 'Search files/folders': '-\*temp means exclude *temp folders'

So, istead of -\*temp you should use -\*$RECYCLE.BIN

Try *.* -\*$RECYCLE.BIN

*.* - what you want to find, for example, test.txt ot *.xls or something else

In 'Search in' - 'Folders' type D:\ (if you want to make search only on drive D)

LikesFreeStuff
Posts: 8
Joined: 11.12.2020, 20:33

Re: Exclude files in Recycle Bin when searching

#5 Post by LikesFreeStuff » 13.12.2020, 18:08

Thanks for the advice, but that doesn't work either. Wish I knew what I could be doing wrong.

I typed -\*$RECYCLE.BIN in the "Exclude files" field of the Filters tab

I typed D:\ in the "Search in" then "Folders" field

In the "Containing text" field I typed the word statue

After clicking Find, it's still looking in the Recycle Bin of the D drive and displaying recycle bin files.

User avatar
Dreamer
Site Admin
Posts: 6113
Joined: 19.08.2007, 23:40

Re: Exclude files in Recycle Bin when searching

#6 Post by Dreamer » 13.12.2020, 20:14

You can find the real path to Recycle bin in Settings > View > Tree > Excluded items, you can try to use it, but I'm not sure if it will be working.

LikesFreeStuff
Posts: 8
Joined: 11.12.2020, 20:33

Re: Exclude files in Recycle Bin when searching

#7 Post by LikesFreeStuff » 13.12.2020, 20:44

Check-marking the Recycle Bin under Tools > Settings > View > Tree > Excluded items did not work. Searching is still looking in the Recycle Bin.

LikesFreeStuff
Posts: 8
Joined: 11.12.2020, 20:33

Re: Exclude files in Recycle Bin when searching

#8 Post by LikesFreeStuff » 13.12.2020, 20:54

I also tried typing this in the Exclude files bar:
-\*D:\$RECYCLE.BIN\S-1-5-21-665958026-2330677748-148844378-1002\

That didn't work either. I guess I'll just have to wait a little longer for the search function to get finished.

User avatar
Dreamer
Site Admin
Posts: 6113
Joined: 19.08.2007, 23:40

Re: Exclude files in Recycle Bin when searching

#9 Post by Dreamer » 13.12.2020, 20:59

I meant to add that item (::645FFF...) to exclude field in search, but I don't think it will be working.

I just tried to search inside the recycle bin, that path (above) was added as path automatically, but it was not working.

BTW, you can get that path by entering the recycle bin and open Search, it's added to Folders field, you can copy and test with this path.

LikesFreeStuff
Posts: 8
Joined: 11.12.2020, 20:33

Re: Exclude files in Recycle Bin when searching

#10 Post by LikesFreeStuff » 13.12.2020, 21:20

I don't know what you mean by "entering the recycle bin and open Search, it's added to Folders field, you can copy and test with this path."
If you have time, could you give me a screenshot of what I should try.

User avatar
Dreamer
Site Admin
Posts: 6113
Joined: 19.08.2007, 23:40

Re: Exclude files in Recycle Bin when searching

#11 Post by Dreamer » 13.12.2020, 21:40

In FC go to This PC - you can type <CSIDL:0 in address bar, middle click to edit, then double click to Recycle bin - if it's not opened in FC, right click Recycle bin here and select "Open with FreeCommander", you can do it also from icon in the splitter - middle toolbar. Once you're in Recycle bin, just press Ctrl+F and you'll see the path in the third field.

LikesFreeStuff
Posts: 8
Joined: 11.12.2020, 20:33

Re: Exclude files in Recycle Bin when searching

#12 Post by LikesFreeStuff » 13.12.2020, 23:56

In FC, I found This PC and Recycle Bin.

This part, I do not understand where the address bar is, and I don't how to middle click, nor do I know what a splitter is:
type <CSIDL:0 in address bar, middle click to edit, then double click to Recycle bin - if it's not opened in FC, right click Recycle bin here and select "Open with FreeCommander", you can do it also from icon in the splitter - middle toolbar.
In the Recycle bin, I pressed Ctrl+F, but there was nothing in the third field ("Folders" field) of the "Location" tab.


Using FreeCommander XE 2020 Build 810a 32-bit public

Timon
Posts: 729
Joined: 13.09.2012, 08:51

Re: Exclude files in Recycle Bin when searching

#13 Post by Timon » 14.12.2020, 21:25

Search fuction works fine.

There is no need to enter anything in "Exclude files" field of the Filters tab

All you need is to enter in 'File name:' fileld
*.* -\*$RECYCLE.BIN

where *.* - what you want to find
-\*$RECYCLE.BIN - excluded folder

https://imgur.com/xcidHIi

LikesFreeStuff
Posts: 8
Joined: 11.12.2020, 20:33

Re: Exclude files in Recycle Bin when searching

#14 Post by LikesFreeStuff » 14.12.2020, 22:21

It works to simply type in only the file name in the "File names" field. Search didn't look in the Recycle Bin. I did not need to type -\*$RECYCLE.BIN

The problem is searching for text in "Containing text" because it always searches in the Recycle Bin first, even if I have -\*$RECYCLE.BIN at the end

Timon
Posts: 729
Joined: 13.09.2012, 08:51

Re: Exclude files in Recycle Bin when searching

#15 Post by Timon » 15.12.2020, 20:04

You are doing something wrong. Works fine for me, even when searching with "Containing text" in FC XE 835 donor

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests