List of folders with specified name

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
mj6jl5lk6j6
Posts: 16
Joined: Tue Jun 09, 2020 8:11 pm

List of folders with specified name

Post by mj6jl5lk6j6 »

e.g. I'm trying to find all folders named ".vscode". Only way I could figure how is

Code: Select all

folder: .vscode len:7
Any alternatives?
Just wanted to confirm that regex only works on filenames?
NotNull
Posts: 5261
Joined: Wed May 24, 2017 9:22 pm

Re: List of folders with specified name

Post by NotNull »

You can use the exact: modifier for that. It will search for file-/foldernames with that exact name,

Code: Select all

folder:   exact:.vscode
If the foldername contains spaces, enclose in in "" like this: exact:"program files"
Instead of exact:, you can also use one of it's aliases: wfn: and wholefilename:


Regex works on filenames as well as on folders. A regex for your .vscode folder could look like this:

Code: Select all

folder:   regex:^\.vscode$

For more information on all of this, take a look here (or press F1 in Everything )
mj6jl5lk6j6
Posts: 16
Joined: Tue Jun 09, 2020 8:11 pm

Re: List of folders with specified name

Post by mj6jl5lk6j6 »

Thank much!

I scoured the Help>Search Syntax. Thanks to your post, I've learned:
1) exact: modifer is not listed there
2) aliases such as wfn: say
Match the whole filename or match anywhere in the filename
Would have been useful for a noob like me if it said
filename/folder
Post Reply