How to find files in a specified-name folder?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
ssyfzy
Posts: 6
Joined: Fri Jul 12, 2024 7:56 pm

How to find files in a specified-name folder?

Post by ssyfzy »

For example, search for .exe files in any directory whose name match "Users"

Seems parent/infolder only work with a full path, so the following don't work:
parent:Users .exe
infolder:Users .exe
horst.epp
Posts: 1642
Joined: Fri Apr 04, 2014 3:24 pm

Re: How to find files in a specified-name folder?

Post by horst.epp »

What about this
ext:exe path:user\
______________________________________________________
Windows 11 Home Version 25H2 (OS Build 26200.8037)
Everything 1.5.0.1407a (x64), Everything Toolbar 2.3.0
ssyfzy
Posts: 6
Joined: Fri Jul 12, 2024 7:56 pm

Re: How to find files in a specified-name folder?

Post by ssyfzy »

No, for example:

User\a.exe
User\Config\a.exe

I only want to get User\a.exe, since the folder of `User\Config\a.exe` is `Config` rather than `User`
reitwal
Posts: 28
Joined: Sat Apr 09, 2016 9:19 am

Re: How to find files in a specified-name folder?

Post by reitwal »

Please try:

parent-name:
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to find files in a specified-name folder?

Post by void »

Everything 1.4:
regex:\\users\\[^\\]*\.exe$


Everything 1.5:
users\*.exe
horst.epp
Posts: 1642
Joined: Fri Apr 04, 2014 3:24 pm

Re: How to find files in a specified-name folder?

Post by horst.epp »

void wrote: Wed Mar 18, 2026 11:40 pm Everything 1.4:
regex:\\users\\[^\\]*\.exe


Everything 1.5:
users\*.exe
This will also match C:\Tools\MajorGeeks Windows Tweaks\Shortcuts\Switch Users\
Guess it should be
\users\ *.exe
ssyfzy
Posts: 6
Joined: Fri Jul 12, 2024 7:56 pm

Re: How to find files in a specified-name folder?

Post by ssyfzy »

void wrote: Wed Mar 18, 2026 11:40 pm Everything 1.4:
regex:\\users\\[^\\]*\.exe


Everything 1.5:
users\*.exe
Can you support `users\*.exe` for 1.4? I'm worried 1.5 won't release for a long time
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to find files in a specified-name folder?

Post by void »

Can you support `users\*.exe` for 1.4?
No, sorry.

For Everything 1.4, please try the following search:

regex:\\users\\[^\\]*\.exe$




Everything 1.5.
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

Re: How to find files in a specified-name folder?

Post by therube »

@horst,

\users\ *.exe


With the space in there, that would also find sub-folders that contained *.exe (& had a users\ folder name - somewhere in the path, but not necessarily a direct child of users\).

search: users\*.exe

finds

c:/users/red.exe
c:/users/blue.exe
c:/colors/users/red.exe

but not

c:/users/red/red.exe

Where with the <sp>

c:/users/red/red.exe
c:/users/blue/z/zz/blue.exe

would also be found.
Post Reply