Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function ADIR()
Message
De
11/12/2003 13:33:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00857766
Message ID:
00858251
Vues:
16
>In addition to what others told, you can use this:
>
>oFSO = CREATEOBJECT("Scripting.FileSystemObject")
>ofso1=oFSO.GetFolder(yourfolder)
>
>FOR EACH oitem IN oFSO1.Files
>?	oItem.NAme
>* do other what you need here
>endfor....
>
>

Just thought I'd point out the WSH is way, way slower here than using SYS(2000) or going right to the API. Last time I tested, it was 20 to 30 times slower with the WSH.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform