Limit depth in folder search

Is it possible to restrict the search depth in Find File?

One way to do it:

Change the 2 to the depth you want to limit things to. 1 will only match things in the root, 2 will match things in the root and one level below it, and so on.

Thinking some more, (.+\\){2} may work better that what's in the screenshot (+ instead of *) as it will keep the numbering consistent with UNC paths that start with two backslashes. (Although they will be different anyway since there's the \\server\share levels to consider.)

1 Like