Information générale
Titre:
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,
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement