I am trying to traverse through a directory lets say C:/TestDirectory/, within this TestDirectory there is a group of folders and within these folders are files. I am trying to output a text file that prints the following information
Folder1
File1.txt
File2.txt
Folder2
File1.txt
.
.
.
Im on windows XP OS and have searched this on google but haven't found out exactly how to do this ... all help would be appreciated!