>>>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