Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List file and sub directory
Message
De
25/09/2002 15:16:01
 
 
À
25/09/2002 09:55:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00703337
Message ID:
00704441
Vues:
21
You might try myadir() function in downloads ID # 10070 ADIR() - Extended Function.

It works like adir() function (in fact uses adir()) but can list files in subdirectories as well as specified directory. It returns the number of files found and create a cursor or an array depending on how it is called with same structure as adir() array with an additional field for full path.
On my network drive I tested it by listing the entire drive (over 70,000 files and over 21 GB) and it processed the list in less than 3 minutes. Not instantaneous, but not too bad.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform