Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read Directory & Subdirectory Info.
Message
De
05/07/2002 20:01:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Read Directory & Subdirectory Info.
Divers
Thread ID:
00675780
Message ID:
00675780
Vues:
64
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
Fil
Voir

Click here to load this message in the networking platform