Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADIR()
Message
De
25/01/2001 11:43:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: ADIR()
Divers
Thread ID:
00468502
Message ID:
00468522
Vues:
9
>>I have a directory called E:\bucks\storexls\. Within this directory are sub-folders. While in the directory E:\bucks\storexls, I issue the following command:
>>
>>numberrec = ADIR(srrlist, '*.*') && Create Array
>>
>>Nothing is being returned. Why? If I go directly into one of the sub-folders (E:\bucks\storexls\0001010\) and issued the above command, the array is populated with the list of files in the folder.
>>
>>Is there a different command I need to use to get the list of sub-folders in E:\bucks\storexls\?
>>
>>Thanks in advance for your help.
>
>See VFP Help on ADIR. THere is a 3rd parameter needed to return folder names.

The third parameter is "D"

= ADIR(aFolders, '', 'D')
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform