Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if a folder exists?
Message
De
15/02/2004 18:47:47
 
 
À
15/02/2004 09:16:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00877389
Message ID:
00877519
Vues:
15
>
>Tore,
>From Visual FoxPro 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
>

>
>Not true,
>
>DIRECTORY(cDirectoryName , 1)
>
>
>not filter HS attributes.
>
>Fabio

The distributed help file say nothing about it, but the help version on MS website does.


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

Click here to load this message in the networking platform