$finddir » History » Version 1
Per Amundsen, 08/12/2015 12:39 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$finddir(dir,wildcard,N,[depth],[@window|command])* |
||
| 4 | |||
| 5 | 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. |
||
| 6 | |||
| 7 | *Parameters* |
||
| 8 | |||
| 9 | dir - The directory to search. |
||
| 10 | wildcard - Wildcard to search for. |
||
| 11 | N - The Nth directory to search for. |
||
| 12 | [depth] - Maximum folder depth. (optional) |
||
| 13 | [@window|command] - Custom window name or a command. (optional) |
||
| 14 | |||
| 15 | *Properties* |
||
| 16 | |||
| 17 | .shortfn - Return the path in a [[$shortfn|shortfn]] format. |