What are file attributes
Applications typically use this attribute to mark files for backup or removal. A file or directory that is compressed. For a file, all of the data in the file is compressed. For a directory, compression is the default for newly created files and subdirectories.
A file or directory that is encrypted. For a file, all data streams in the file are encrypted. For a directory, encryption is the default for newly created files and subdirectories. The file or directory is hidden.
It is not included in an ordinary directory listing. The directory or user data stream is configured with integrity only supported on ReFS volumes. The integrity setting persists with the file if it's renamed. If a file is copied the destination file will have integrity set if either the source file or destination directory have integrity set.
A file that does not have other attributes set. This attribute is valid only when used alone. The file or directory is not to be indexed by the content indexing service. The user data stream not to be read by the background data integrity scanner AKA scrubber. To clear an attribute with attrib , use - the minus sign , for example:.
Using the minus signs after attrib in the above example clears the System, Hidden, and Read-only attributes from the file. This is document aift in the Knowledge Base. Last modified on Skip to: content search login. Knowledge Base Toggle local menu Menus About the team. A file that is being used for temporary storage. The operating system can choose to store this file's data in memory rather than on mass storage, writing the data to mass storage only if data remains in the file when the file is closed.
A file that is a sparse file. A file or directory that has an associated reparse point. A file or directory that is compressed.
For a file, all of the data in the file is compressed. For a directory, compression is the default for newly created files and subdirectories.
The data in this file is not available immediately. This attribute indicates that the file data is physically moved to offline storage. This attribute is used by Remote Storage, which is hierarchical storage management software. A file or directory that is not indexed by the content indexing service. A file or directory that is encrypted.
For a file, all data streams in the file are encrypted. For a directory, encryption is the default for newly created files and subdirectories. A file or directory that is configured with integrity support. For a file, all data streams in the file have integrity support. For a directory, integrity support is the default for newly created files and subdirectories, unless the caller specifies otherwise. A file or directory that is configured to be excluded from the data integrity scan.
0コメント