File Attributes
Attributes can be assigned to a file by using the chfile, editfile, and newfile commands. Attributes determine the character of the file.
capamsc141
Attributes can be assigned to a file by using the chfile, editfile, and newfile commands. Attributes determine the character of the file.
Although the full name for these file attributes is FILE_ATTRIBUTE_
name
, PAM Server Control
only requires you to enter the name
portion (for example, ARCHIVE or COMPRESSED).The following lists and describes the file attributes that you can modify in Windows.
- FILE_ATTRIBUTE_ARCHIVEAn archival file; a file marked for backup or removal.
- FILE_ATTRIBUTE_HIDDENA hidden file. Hidden files are not normally included in an ordinary directory listing.
- FILE_ATTRIBUTE_NORMALA file with no other attributes. This value is only valid when used alone.
- FILE_ATTRIBUTE_READONLYA read-only file. Applications can read the file, but cannot write in it or delete it.
- FILE_ATTRIBUTE_SYSTEMAn operating system file or a file used exclusively by the operating system.
- FILE_ATTRIBUTE_TEMPORARYA file being used for temporary storage.
The following lists and describes the file attributes that you cannot modify in Windows.
- FILE_ATTRIBUTE_COMPRESSEDA compressed file or directory. For files, this means all the data in the file is compressed; for directories, this means that all newly created files and subdirectories are compressed by default.
- FILE_ATTRIBUTE_DIRECTORYA directory.