Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List of Drives?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00508662
Message ID:
00508725
Views:
29
>Hi George,
>
>ANETRESOURCES() will not work for me because I won't know the name of the network.
>
>Re: 'the problem with a lack of a mapping is that there's no way to tell if the user has rights to anything on the drive.'
>I can assume that the user has read and write rights to the network drive I'm looking for. If a network drive exists but the user does not have read/write rights, I'm not interested in that drive.
>
>Whoa, I think there's a misunderstanding here. When I originally wrote that I want a list of all the network drives, I meant the network drives that the user can see. I don't care about network drives that exist but which the user cannot see. Does this change the answer you gave me? Actually, using DRIVETYPE() is consistent with this interpretation (only the drives that the user can see).
>
>Thanks,

Chaim,

Nope, it doesn't change the answer. DRIVETYPE() can be used to identify the networked mapped drives. Just check the value the function returns. If it's 4, it's probably a network drive.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform