Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a Folder() function
Message
From
20/11/2001 04:12:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00583793
Message ID:
00583797
Views:
19
>Hi.
>Is there a folder(0 function similar to the File() function which will return a True or false depending on the existence of a folder.
>(As far as I can tell, File() does not test for the occurence of Folders .
>
>i.e Is there a Folder('C:\MyHome\Myfolder') function which will return a .T. or .F.
>
>Regards,
>
>Gerard
Gerard,
There is directory(). But be aware like file() it's not reliable always. Adir() is more reliable.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform