Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need help with ADIR command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00291643
Message ID:
00291667
Vues:
20
>I am trying to get an array from a specific directory on my harddrive.
>I am doing what I "believe" is correct but the value always returns a "0" and it should return the file count.
>the line is...
>ADIR(temparr,'C:\programfiles\*.*')
>
>I know I'm missing something real simple here!
>
>thanks,

My c:\program files directory has no files in it... just directories.

If you want the directories... something like this works;

? adir(l,"c:\program files\*.*",'D')

HTH
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform