DOS/Windows file attributes
From Just Solve the File Format Problem
The DOS/Windows file attributes are a set of standard one-bit attributes for a file or directory. The original form was a one-byte field associated with FAT, but it has been extended and updated over time. Some archiving and filesystem formats have a way to store (some subset of) these attributes.
Table of attributes
Some of the one-letter identifiers used by the ATTRIB command are included in this table.
| Value | ID | Meaning |
|---|---|---|
| 0x00000001 | R | READONLY |
| 0x00000002 | H | HIDDEN |
| 0x00000004 | S | SYSTEM |
| 0x00000008 | Volume label (or reserved) | |
| 0x0000000f | LONG_NAME (FAT32 system use) | |
| 0x00000010 | DIRECTORY | |
| 0x00000020 | A | ARCHIVE |
| 0x00000040 | DEVICE (reserved for system use) | |
| 0x00000080 | NORMAL (valid only when used alone) | |
| 0x00000100 | TEMPORARY | |
| 0x00000200 | SPARSE_FILE | |
| 0x00000400 | REPARSE_POINT | |
| 0x00000800 | COMPRESSED | |
| 0x00001000 | O | OFFLINE |
| 0x00002000 | I | NOT_CONTENT_INDEXED |
| 0x00004000 | ENCRYPTED | |
| 0x00008000 | V | INTEGRITY_STREAM (ReFS) |
| 0x00010000 | VIRTUAL (reserved for system use) | |
| 0x00020000 | X | NO_SCRUB_DATA (ReFS) |
| 0x00040000 | RECALL_ON_OPEN | |
| 0x00080000 | P | PINNED (OneDrive) |
| 0x00100000 | U | UNPINNED (OneDrive) |
| 0x00400000 | RECALL_ON_DATA_ACCESS | |
| ? | B | SMR Blob |