Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: ADIR()
Miscellaneous
Thread ID:
00255332
Message ID:
00255633
Views:
9
Kevin,

ADIR() returns the number of rows can you just use it's 0 value to know there's no access.

>I have a recursive function that scans through
>all the subfolders on a network folder.
>
>Some of the folders have access rights which I
>do not have access to, so when I attempt to
>use ADIR(), I get nothing in my array.
>
>How do I check to see if I have access to a
>network folder before I attempt to access it?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform