all..
how to get listfiles of folders inside a folder? so we got some folders in a parent folder..and each folder has some files
thanks
Printable View
all..
how to get listfiles of folders inside a folder? so we got some folders in a parent folder..and each folder has some files
thanks
Look for a likely method in the File class.
It can be used recursively as in this example from exampledepot.com
Step1: get path of ur dir.
Step2: check that path is dir or not .,
Step3: if its dir ., make recursion to that method and pass that path ., to the same method .,
step4: if its file add to arraylist ., its path else do the recursion .,
try to do code ., it ., if u have some problem then i will post my code ., u can have it as a sample