I am trying to read dirs whitin dirs with the following attached funcion. The second time I call the function no subdirs are found. If someone have any suggestions pleas help me. Thank you
Ztopher, I think you are using to much extra coding that is not required. You only need a File object and should not keep sending in the result list. Also the fileFilter is not really required because you can just use the isFile function. If the item found is not a file then it must be a directory. With those changes your code looks like the following: