Take a look at $finddir in the help file.