FileAttributes

FileAttributes enum

Represents attributes of a directory or a file.

enum class FileAttributes

Values

NameValueDescription
Archive32The filesystem entity is a candidate for removal or backup.
Compressed2048The filesystem entity is compressed.
Device64Not used.
Directory16The filesystem entity is a directory.
Encrypted16384The filesystem entity is encrypted.
Hidden2The filesystem entity is hidden.
IntegrityStream32768The filesystem entity contains data integrity support.
Normal128The filesystem entity is a file that has no special attributes.
NotContentIndexed8192The filesystem entity will not be indexed by the content indexing service.
NoScrubData131072The filesystem entity is not included in the data integrity scan.
Offline4096The filesystem entity is offline and its data is not immediately available.
ReadOnly1The filesystem entity is read-only.
ReparsePoint1024The filesystem entity is a file that contains a reparse point.
SparseFile512The filesystem entity is a sparse file.
System4The filesystem entity is a system file.
Temporary256The filesystem entity is a temporary file.
Invalid0Invalid value.

See Also