Added in 1.9.0

$finddir(dir,wildcard,N,[depth],[@window|command])

Searches the specified directory and its sub directories for the Nth directory name matching the wildcard specification and returns the full path and directory if it is found.

Parameters

dir - The directory to search.
wildcard - Wildcard to search for.
N - The Nth directory to search for.
[depth] - Maximum folder depth. (optional)
[@window|command] - Custom window name or a command. (optional)

Properties

.shortfn - Return the path in a shortfn format.