DOS/Windows file attributes
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "{{FormatInfo |formattype=electronic |subcat=Metadata }} The '''DOS/Windows file attributes''' are a set of standard one-bit attributes for a file or directory. The original fo...") |
(→Table of attributes: more details on "SMR Blob") |
||
| (One intermediate revision by one user not shown) | |||
| Line 19: | Line 19: | ||
|0x00000008 || || Volume label (or reserved) | |0x00000008 || || Volume label (or reserved) | ||
|- | |- | ||
| − | |0x0000000f || || LONG_NAME ([[ | + | |0x0000000f || || LONG_NAME (see [[VFAT]]) |
|- | |- | ||
|0x00000010 || || DIRECTORY | |0x00000010 || || DIRECTORY | ||
| Line 57: | Line 57: | ||
|0x00400000 || || RECALL_ON_DATA_ACCESS | |0x00400000 || || RECALL_ON_DATA_ACCESS | ||
|- | |- | ||
| − | | | + | |0x20000000 || B || FILE_ATTRIBUTE_STRICTLY_SEQUENTIAL (aka "SMR Blob") |
|} | |} | ||
Latest revision as of 09:56, 29 May 2023
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.
[edit] 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 (see VFAT) | |
| 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 | |
| 0x20000000 | B | FILE_ATTRIBUTE_STRICTLY_SEQUENTIAL (aka "SMR Blob") |