Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directory() Function
Message
From
05/03/2002 02:20:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00628144
Message ID:
00628243
Views:
17
>When I use the DIRECTORY() function to check the existence of a DIRECTORY (so I'll know whether or not to create it), the results are not dependable. Any documentation on errors with this function? If not, what else can I use to check the existence of a directory?
>TIA, Shuli

Shuli,
FWIW use adir(). You might also want to check if drive is ready with WSH IsReady function.
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
Reply
Map
View

Click here to load this message in the networking platform