Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set file attribute?
Message
 
 
To
26/08/2003 06:21:17
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00823333
Message ID:
00823366
Views:
26
This message has been marked as a message which has helped to the initial question of the thread.
See How to change file attributes programmatically FAQ #15763

>I found this API to set a file attribute
>
>
>
DECLARE SHORT SetFileAttributes IN kernel32;
>    STRING lpFileName,;
>    INTEGER dwFileAttributes
>
>
>I assume I set lpFilename to xyz.doc
>but what do I set dwFileAttributes to make xyz.doc read only?
>
>Thanks
>Peter
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform