Using
Everything makes this solution possible.
1. ALT+SHIFT+F7 Find in separate process in TC
2. Field "Search for:"
ev:childfoldercount:3 -> Everything Functions ...
childfoldercount:<count> ... Search for folders that contain the specified number of subfolders.
3. Field "Search in:" is ignored with parameter ev:
4. 'Everything' ... must be ticked!
5. Click on "Start search..."
6. Click on "Feed to listbox"
In such a case, I would recommend the following:
Custom columns view
Configuration > Options... > Custom columns > New > Name: e.g.
File name and path > Add column > click on the "+"-plus sign
choose plugin: tc > click in field "Filter:" enter
path, OK > add Caption:
Path --> Field contents:
[=tc.path]
tick "Adjust Tabs to window width" and "Horizontal scrollbar" > OK
View Mode
Configuration > Options... > View Mode > Add: e.g.
Search >
Columns view: choose "
File name and path" with dropdown arrow (= name of your Custom columns view) > OK
View Mode <Default> - Attention: Here you should make settings in case a view mode is ended.
E.g. Columns view: Full, Sort order: Name
Auto Switch Mode
Configuration > Options... > Auto Switch Mode >
Tick "Automatically switch view mode on directory change:" > Add...: Rule (use dropdown arrow) =
S: Search result >
Set this mode: (use dropdown arrow) =
Search (= name of your View Mode) > OK
The result is the names of the top-most folders which contain 3 subdirectories and the path of the top-most folders.
Button
A button with command:
cm_SrcViewMode0 allows the standard/default view to be restored at any time.