Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Directory exist
Message
 
À
23/08/2000 12:47:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00408305
Message ID:
00408356
Vues:
10
>>>Is there a function in vfp that will tell you if a directory exists in a Netware File server. Thanks
>>
>>Look up DIRECTORY() in the Help.
>>Bill
>
>I need a way to programmatically detect if a directory exists in my vfp program,
>something like the FILE() command I guess.
>Eric

That's what DIRECTORY() does... I have no N: mapped, and the following is an example of what will happen;

?directory('c:\')
.T.
?directory('n:\')
.F.

Also, I have my laptop's C:drive shared as 'C' - the name of the computer is waynem, so;

directory('\\waynem\c') = .T.

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