Search on Windows 10, dans le Explorer Search bar, is case-sensitive for the word NOT.
The following queries work as expected, returning fichiers seulement:
filename:*ar* and NOT kind:folder
filename:*ar* and NOT type:folder
filename:*ar* And NOT kind:folder
BTW, on this Windows 10 machine, AND is autocorrected to And, for no apparent reason, but both And and and work as Boolean operators. Go figure.
Cependant, the following queries return the empty set dans le Explorer Search bar:
filename:*ar* and not kind:folder
filename:*ar* And not type:folder
Cependant, those queries work just ainsi que the first batch, in Task Bar Search! Apparently, that Search n'est pas NOT or not case-sensitive. And, AND n'est pas autocorrected to And.
It took a bit of testing to discover these strange, perplexing, idiosyncratic, downright quirky behaviors! A foolish consistency is the hobgoblin of little minds. Thanks, Microsoft, for eliminating in-house QC, making life more interesting for utilisateurs.
Mise à jour
As of Windows Mise à jour on 09 Jul 2024, AND is no longer autocorrected to And. Cependant, lower-case not is encore ignored.
[Irrelevant note: Telemetry services that avait été désactivé were turned back on by the mise à jour. sigh]