Search for a file name in a weird way

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Search for a file name in a weird way

Post by vsub »

First,is this a bug or that's expected...maybe because I am doing it the wrong way
Match path is not selected but everything is giving me folder names while Audio filter is selected

""D:\Games\Final Fantasy\World Of Final Fantasy\Soundtrack\WORLD OF FINAL FANTASY - The Dragon Scars.wav""

Search string is "\s c h" without quotes and those in read are marked
What am trying to find is a file name that contains those 3 letters and the file name starts with s then I don't know if the next letter is "c" but it is somewhere after the "s" and it could be after the "s" or after some other letter and somewhere after the "c" there is an "h",again,it can be the next letter

The actual file name is schlachtschiff.mp3 but no matter what I try,I never get results only of filenames that starts with "s" and I also cannot find the file unless I type "\sch"
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Search for a file name in a weird way

Post by therube »

\S will match a file name starting with S, & also a directory path part starting with S.
s* c h
will find filenames that start with an S & also contain a c & h
^-That may also depend on your setting of, Tools | Options | General -> Search --> Match whole filename when using wildcards
(You can also use wfn:s* [or nowfn:s*] depending on those settings.)
(And there are some other nuances in there too ;-).)

Sounds of the 70's - (02) Santana (1971) - Everybody's Everything.mp3
Last edited by void on Mon Nov 22, 2021 10:29 am, edited 1 time in total.
Reason: fixed wfn:
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Re: Search for a file name in a weird way

Post by vsub »

s* c h - find the file but it also showed results where the matching letters are part of the folder name
For example schlachtschiff.mp3 marked all of the letters but it also marked the "c" letter from the folder name

When I set the filter to Everything,it shows all files and folders that start with "s" and only those that contains c and h somewhere in the path name
Some files contains only s and h in the name and the c is part of the folder name

My point was to display only filenames(not folders)that contains those letters(if that's possible)

Something like search only for file names
raccoon
Posts: 1017
Joined: Thu Oct 18, 2018 1:24 am

Re: Search for a file name in a weird way

Post by raccoon »

Click the Search menu and un-check Match Path.

fMLWt0c57P.png
fMLWt0c57P.png (5.53 KiB) Viewed 6729 times

If you do not want Folder objects in the search results at all, use either of these verbs somewhere in your search query.

files: or nofolders: or !folders:

You can also add a search filter named Files under Search > Organize Filters.
vsub
Posts: 474
Joined: Sat Nov 12, 2011 11:51 am

Re: Search for a file name in a weird way

Post by vsub »

Read my first post,that option is disabled
Also using files: is the same thing as selecting the audio filter
Folder names are still criteria to find the file
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Search for a file name in a weird way

Post by therube »

but it also showed results where the matching letters are part of the folder name
I'm not seeing that?
And there are some other nuances in there too
That too. See if wfn: (or not) is mattering to you.

What is the search term you're using & what are you expecting & what are you getting?

In the last shot, I've enabled PATH.
.
Everything NOT finding 2015 in path part.png
Everything NOT finding 2015 in path part.png (57.27 KiB) Viewed 6714 times
void
Developer
Posts: 16678
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search for a file name in a weird way

Post by void »

Does the following search help:

file: s* c h

-or-

file: startwith:s c h
Post Reply