What is the function <> group use for?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
veseek
Posts: 1
Joined: Mon Apr 13, 2020 7:28 am

What is the function <> group use for?

Post by veseek »

< > Grouping
translated
< > 分组

but what the <> working for?

I tested the search word

Code: Select all

1 11
or the

Code: Select all

<1> <11>
, but result is the same.
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: What is the function <> group use for?

Post by NotNull »

Command grouping is used to influence the order in which your search terms are "executed".
Much like the () in arithmetic: compare 1 + 1 * 10 (=11) with (1 + 1) * 10 (=20).

Most common usage in Everything is to influence the defaults for AND (a space) and OR ( | ).
Example:

Code: Select all

ext:ini  c:\folder1 | c:\folder2  ext:txt
Would show you the files in C:\folder1 and C:\folder2, but only the ones that have extension INI ànd have extension TXT
(that will be 0 files as a file can have only one file extension)

Whereas:

Code: Select all

< ext:ini c:\folder1 > | < c:\folder2 ext:txt > 
Will show you all INI files in C:\folder1 and all TXT files in C:\folder2
Post Reply