Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADIR() to find the directories
Message
De
14/03/2002 07:17:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
14/03/2002 07:12:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00632608
Message ID:
00632633
Vues:
15
>Thanks a lot for your answer
>
>Your solution is working but in the array adir there are two more directories the . and the ..
>
>There is way to NOT include these 2 directories ? (Not programmatically - but using the ADIR() function)
>
>Thanks again
>Petros

"." refers to the current directory, ".." refers to the parent directory. AFAIK, there are no further options to omit those. You have to check for ".". I believe it isn't safe to omit the first two entries - I believe that in some circumstances you will not have those entries.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform