Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine If File Is Read-Only
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01286148
Message ID:
01286157
Views:
17
>I need to:
>
>a) Determine if a file is read-only, and
>
>b) if it is, make it read/write.
>
>Anyone?


You can determine whether a file is read-only by issuing ADIR() and examining the 5th element of each row. Not sure how to change it to R/W. Probably by calling a Windows function.
Previous
Reply
Map
View

Click here to load this message in the networking platform