Search Syntax
Search operators break the search into
search terms.
Operators
Search Terms
Wildcards
Macros
Character Entities
Filename Parts
See also
Operators
- space
- AND search terms together.
For example:
abc 123 = searches for: abc AND 123
- |
- OR search terms together.
For example:
abc|123 = searches for: abc OR 123
- !
- NOT a search term.
For example:
!abc = searches for: NOT abc
- < >
- Group search terms together.
For example:
!<abc 123> = searches for: NOT ( abc AND 123)
- " "
- Match text literally and escape operators.
For example:
"abc 123" = searches for the literal text: abc 123
By default, OR operations have higher precedence than AND operations.
Search Terms
Search terms are used to define an Everything search.
Search terms can be literal text or
search functions.
Literal text without a search function matches filenames.
For example:
abc matches filenames containing
abc.
date-modified:today matches files and folders modified today.
Search terms can be prefixed with
search modifiers to change the search behavior.
For example:
case:ABC matches only uppercase
ABC.
Wildcards
| * | Matches zero or more characters (except \) |
| ** | Matches zero or more characters |
| ? | Matches one character (except \) |
The whole filename is matched when using wildcards.
For example:
*.mp3 = matches mp3 files
foo* = matches filenames starting with foo
*foo* = matches filenames containing foo
stem:*bar = matches filenames ending with bar (ignoring extension)
Macros
| audio: | Matches audio files. |
| zip: | Matches compressed files. |
| doc: | Matches document files. |
| exe: | Matches executable files. |
| image: | Matches image files. |
| video: | Matches video files. |
For example:
audio: = matches audio files
audio:|video: = matches audio or video files
Character Entities
| &sp: | Literal space ( ) |
| &vert: | Literal vertical line (|) |
| &excl: | Literal exclamation mark (!) |
| <: | Literal less than (<) |
| >: | Literal greater than (>) |
| ": | Literal double quote (") |
| &#<n>: | Literal Unicode character <n> in decimal. |
| &#x<n>: | Literal Unicode character <n> in hexadecimal. |
For example:
C:\Program&sp:Files = match files/folders in
C:\Program files
&excl:readme.txt = match filenames containing
!readme.txt
content:":foo": = match file content containing
"foo"
diacritics:­: = match filenames containing a soft hyphen (
-)
Character Entities
Filename parts
| Full Path | C:\folder\file.txt |
| Name | file.txt |
| Path | C:\folder |
| Stem | file |
| Extension | txt |
See also
Search Modifiers
Search Functions
operator_precedence