The function fattrib changes file attributes. Parameter
par is a pointer to the string specifying file attributes to
be modified. The following characters are allowed within par
string:
Character
Function
+
Sets an attribute
-
Clears an attribute
R
Read-only file attribute
A
Archive file attribute
S
System file attribute
H
Hidden file attribute
Parameter path is a pointer to the string specifying file
path.
The parameter path can contain:
A file name.
A drive prefix. If the drive prefix is omitted, the Default
System drive specified in the file File_Config.c is
used.
A file path. Use the escape character "\" when specifying a
path.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.