Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating array of files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00275221
Message ID:
00275408
Vues:
17
>>How do you create an array/table that contains the names of all the files in a folder using vfp 5.0
>
>nFiles = ADIR(laFiles,"c:\myfolder\*.*")
>
>nFiles will be the number of files in the folder and the array laFiles will contain the file information. See the help for ADIR for more information.

Thanks, now I'm trying to create an array of files that are located in numerous sub-folders.

The above works for one folder, but is there a way to kind of scan through all the sub-folders and make an array of all the files?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform