Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if a folder exists?
Message
 
À
14/02/2004 18:42:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00877389
Message ID:
00877487
Vues:
11
Correct you are Tore. ( I just left that for the reader to investigate <s>)

Eg viste ikkje at 'Reven' var kjennt i Norge. Er det mange brukere i Norge?

Einar

>Einar,
>
>Actually you have to add 'DH' and not 'D' as the last parameter to find hidden directories.
>
>Nå tar jeg kvelden, klokka er 0:42! :-)
>
>>Tore,
>>From VFP help:
>>"DIRECTORY( ) returns .F. for directories with Hidden or System attributes."
>>That might be the 'flaw' that you remember about the directory() function. I belive your method (adir()) would 'find' a directory even if it was hidden. I also seem to remember that there as a good reason for using adir() instead of directory() but I can't remember if that is the only reason.
>>
>>Einar
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform