Restored from previous forum. Originally posted by Joël Roly.
Hi All
How to make to change the attributes of file?
I did not find of order PB
API SetFileAttributesA_(Nom$, Attrib) is refused
Thank you for the reseignements
Joël
(Programmeur amateur)
Files Attributes
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Paul.
Drop the "A"...
SetFileAttributes_(Nom$, Attrib)
Example:
SetFileAttributes_("Test.txt",#FILE_ATTRIBUTE_READONLY)
----------
Visit the PB Resources Site at http://www.reelmediaproductions.com/pb
Drop the "A"...
SetFileAttributes_(Nom$, Attrib)
Example:
SetFileAttributes_("Test.txt",#FILE_ATTRIBUTE_READONLY)
----------
Visit the PB Resources Site at http://www.reelmediaproductions.com/pb
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm