I can get a listing of all the files and directories contained within a specific directory. I am wondering what is the best way to get a listing of the contents of all the subdirectories. I am not sure how to go about this problem. I think that some recursion will be necessary. <br><br>Ultimately I want to create a text file that has the files listed in it with there particular attributes. I want to have the text file with each row having the following structure.<br><br>directory path ¦ file name ¦ file Size ¦ date created ¦ etc.<br><br>I am new to java, what would be the best approach to this problem, if I also wanted to be able to sort the text file by file name, if there where 100,000 entires or so. How would I go about this. I am familiar with sorting algorithms and such, but have never tried this before.<br><br>Any help is greatly appreciated.<br><br>fenris<br> <p> fenris<br><a href=mailto:fenris@hotmail.com>fenris@hotmail.com</a><br><a href= > </a><br> I am interested in Mining Software, as well as Genetic Algorithms.