logic of the command-line option `-name-part` is flawed
-
lanyer
- Posts: 4
- Joined: Thu Jan 01, 2026 7:44 am
logic of the command-line option `-name-part` is flawed
The logic of the command-line option `-name-part` is flawed. Using the latest stable version, the explanation for `-name-part <filename>` in the help documentation is: search for parts of a file's name. However, in practice, `Everything -name-part "abc"` only finds files that completely match the name "abc". Using `Everything -name-part "abc*"` finds files starting with "abc", and only `*abc*` finds files whose filenames partially match "abc", which matches the described functionality.
-
void
- Developer
- Posts: 19899
- Joined: Fri Oct 16, 2009 11:31 pm
Re: logic of the command-line option `-name-part` is flawed
Thank you for the issue report lanyer,
-name-part matches the whole filename.
I have updated the documentation.
Use to match abc anywhere in the name part.
will also work if Match Path is unchecked under the Search menu.
-s
-name-part
nopath:
-name-part matches the whole filename.
I have updated the documentation.
Use
-s nopath:abc-s abc-s
-name-part
nopath: