Hello William
as a wma (better then mp3, a lot smaller) fan and a programmer I would say don't worry about that and go for a select dir and sub-dir getdir() type choice (read on), but the thing you have to worry about either way is array size, trust me I went over the limit with my little "song organizer/file re-namer/export list" program
I use the dir/file tool "myadir" from the download section (it scans a dir and all sub-dirs for file types and can return name and path to separate parts of a array)
you must decide on a path of reason to store the data up front, cause everybody hates re-doing code
the only 3 I can think of are 1)straight to dbf when the array gets to the limit and re-do the array 2)make a second array when the array gets to the limit (and fear a overload of arrays) 3)to a txt file when the array gets to the limit(can be a little tricky)
and if I went off a little to far on a tangent just ignore this posting
hope this helped
>Hi,
>
>How can I read the directory and subdirectory information on a hard drive, including its partitions/volumes.
>
>I am creating a program that is to scan the hard drive and any partitions for MP3 files. I would like to know how I can search through the directory tree and its numerous subdirectories, regardless of how many directories and subdirectories are on the drive.
>
>I am using gnDir = ADIR(gaDir, "", "D") to get the directory info., but I am having trouble with reading the subdirectories. The problem is knowing how deep the subdirectory system is.
>
>I see infinite loops doing it my way. I belive there has to be an easier way.
>
>Also, can I get some help as to how to determine how many drives/partitions are on the drive?
>
>Thank you,