General information
Title:
Read Directory & Subdirectory Info.
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,
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only