Page 1 of 1

include subfolder or NOT

Posted: Sun Dec 26, 2021 7:24 pm
by metinan
Search menu: Everthing, Audio, Compressed, Document etc.....

But I want to search only main folder in, not include subfolder..

Can be add a "Exclude Subfolder" option in the 'Search Menu'

Thanks & Regards

Re: include subfolder or NOT

Posted: Sun Dec 26, 2021 10:12 pm
by void
Prefix your folder search with the parent: search function.

For example:

parent:c:\windows

Re: include subfolder or NOT

Posted: Tue Dec 28, 2021 12:33 pm
by metinan
Thanks! But not so pratical.

Re: include subfolder or NOT

Posted: Tue Dec 28, 2021 4:47 pm
by NotNull
metinan wrote: Tue Dec 28, 2021 12:33 pm But not so pratical.
Do you have a suggestion on how this can be improved?


There is also an option to do an Advanced Search (in the menu, under the Search entry).
Most commonly used search functions are presented here in a GUI, so you can specify to include subfolders or not:

2021-12-28 17_45_48-Window.png
2021-12-28 17_45_48-Window.png (3.27 KiB) Viewed 4197 times

Re: include subfolder or NOT

Posted: Tue Dec 28, 2021 11:08 pm
by void
With Everything 1.5, you will be able to add \* to exclude subfolders.

For example:

c:\windows\*

will find files/folders directly in c:\windows (no results from subfolders)



A treeview/folder sidebar is also in development. (with a subfolders checkbox)

Re: include subfolder or NOT

Posted: Fri Feb 11, 2022 12:38 pm
by metinan
Well! :!: ;)
Thank You :o

First: BackSpace, bacause there is "one space".. Then "*"...
Good idea

That space might be removed from there ??
You can do everything!

Thanks again for Everything

Regards.

Re: include subfolder or NOT

Posted: Fri Feb 11, 2022 4:26 pm
by froggie
void wrote: Tue Dec 28, 2021 11:08 pm With Everything 1.5, you will be able to add \* to exclude subfolders.

For example:

c:\windows\*

will find files/folders directly in c:\windows (no results from subfolders)
This only works (is equivalent to parent:) when " March Whole Filename When using Wildcards" is checked -- or am I confused??

Re: include subfolder or NOT

Posted: Fri Feb 11, 2022 4:59 pm
by raccoon
froggie wrote: Fri Feb 11, 2022 4:26 pm This only works (is equivalent to parent:) when " March Whole Filename When using Wildcards" is checked -- or am I confused??
It works because wildcards_star_all=0 (default) excludes the characters slash (/) and backslash (\). Thus, they will never match any file names beneath any child folders because a backslash would be present.

Use of globbing wildcards ? and * also make it so the entire pattern (a spaceless or quoted path) matches from beginning to end with anchorage because of match_whole_filename_when_using_wildcards=1 (default). That is, the wildcard (*) doesn't just "give up" until it reaches the last character. If you changed this setting to 0 then the wildcard (*) would "give up" when it reaches a backslash (\), and succeed not fail.

Re: include subfolder or NOT

Posted: Fri Feb 11, 2022 5:45 pm
by meteorquake
I've not explored the macro function but I would presume if parent: is cumbersome to type you could give it a Filter equivalent named say p and then use p: instead of parent:
David

Re: include subfolder or NOT

Posted: Fri Feb 11, 2022 5:50 pm
by NotNull
meteorquake wrote: Fri Feb 11, 2022 5:45 pm I've not explored the macro function but I would presume if parent: is cumbersome to type you could give it a Filter equivalent named say p and then use p: instead of parent:
David
Unless you already have a P:-drive :)