Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Attributes, Modifying with VFP
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00703931
Message ID:
00703936
Views:
13
Something like this:
*---------
FILE_ATTRIBUTE_ARCHIVE = 32
FILE_ATTRIBUTE_HIDDEN = 2
FILE_ATTRIBUTE_NORMAL = 128
FILE_ATTRIBUTE_READONLY = 1
FILE_ATTRIBUTE_SYSTEM = 4
FILE_ATTRIBUTE_COMPRESSED =2048

declare INTEGER SetFileAttributes in win32api STRING, INTEGER
=SetFileAttributes(cFilename, FILE_ATTRIBUTE_NORMAL)



>Is there a way to modify file attributes (maybe something similar to using the DOS ATTRIB command) within VFP code? Would appreciate any help. TIA
Previous
Reply
Map
View

Click here to load this message in the networking platform