Unicode Controls & Classes for VB6 - Version 4

clsSearchFilesFInfoAL.eSearchFilesFAttrs Enum

Attributes of a file, can be a combination of the following values

Name Value Description
esfa_FILE_ATTRIBUTE_READONLY &H1& A file that is read-only. Applications can read the file, but cannot write to it or delete it. This attribute is not honored on directories. For more information, see "You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, or in Windows Vista.
esfa_FILE_ATTRIBUTE_HIDDEN &H2& The file or directory is hidden. It is not included in an ordinary directory listing.
esfa_FILE_ATTRIBUTE_SYSTEM &H4& A file or directory that the operating system uses a part of, or uses exclusively.
esfa_FILE_ATTRIBUTE_DIRECTORY &H10& This is a folder
esfa_FILE_ATTRIBUTE_ARCHIVE &H20& A file or directory that is an archive file or directory. Applications typically use this attribute to mark files for backup or removal.
esfa_FILE_ATTRIBUTE_NORMAL &H80& A file that does not have other attributes set. This attribute is valid only when used alone.
esfa_FILE_ATTRIBUTE_TEMPORARY &H100& A file that is being used for temporary storage. File systems avoid writing data back to mass storage if sufficient cache memory is available, because typically, an application deletes a temporary file after the handle is closed. In that scenario, the system can entirely avoid writing the data. Otherwise, the data is written after the handle is closed.
esfa_FILE_ATTRIBUTE_COMPRESSED &H800& The item is compressed
esfa_FILE_ATTRIBUTE_OFFLINE &H1000& The data of a 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 the hierarchical storage management software. Applications should not arbitrarily change this attribute.
esfa_FILE_ATTRIBUTE_NOT_CONTENT_INDEXED &H2000& The file or directory is not to be indexed by the content indexing service.
esfa_FILE_ATTRIBUTE_ENCRYPTED &H4000& The item is encrypted