Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine If File Is Read-Only
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01286148
Message ID:
01286157
Vues:
20
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform