Searching for Folders?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
viking
Posts: 4
Joined: Thu Dec 03, 2009 1:17 am

Searching for Folders?

Post by viking »

I just installed Everything, and I am trying to find all Folders (no files) at a certain level, but not deeper

I tried this:
E:\MainFolder\*\*.

and it shows the folders at the 4th level, but also deeper levels.
How would I only show the folders at the 4th level?
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searching for Folders?

Post by void »

Code: Select all

E:\MainFolder\*\* !E:\MainFolder\*\*\*
viking
Posts: 4
Joined: Thu Dec 03, 2009 1:17 am

Re: Searching for Folders?

Post by viking »

Great!
Two questions:
1. What is the purpose of the * before E:\ ?
2. Why doesn't the search string also show all the files (at the directory level)?
void
Developer
Posts: 15096
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searching for Folders?

Post by void »

1. What is the purpose of the * before E:\ ?
When dealing with full path wildcard searches it is best to use a * prefix.
The * prefix can be omitted if you specify the full path.
2. Why doesn't the search string also show all the files (at the directory level)?
If you want only folders, try including *. in your search.

Code: Select all

E:\MainFolder\*\* !E:\MainFolder\*\*\* *.
Using *. to match folders is not 100% accurate, you might like to try the latest alpha and use a folder filter.
Post Reply