File or directory attributes


Overview

Defined in

cfile.oxh

Description

<TBS>


KEntryAttNormal& Any file which is not a hidden or system file
KEntryAttReadOnly& Read-only file or directory
KEntryAttHidden& Hidden file or directory
KEntryAttSystem& System file
KEntryAttVolume& Volume name directory
KEntryAttDir& Directory
KEntryAttArchive& Archive file

Directory entry details:

KEntryAttMatchMask& Bit mask which ensures that directories and hidden and system files are matched. (KEntryAttNormal& matches all entry types except directories, hidden and system entries).
KEntryAttMaskSupported& Bit mask used when all entry types including hidden and system files but excluding the volume entry are to be matched.
KEntryAttMatchExclusive& Bit mask flag provided for exclusive matching.

When OR'ed with one or more file attribute constant, ensures that only the files with those attributes are matched.

When OR’ed with KEntryAttDir&, directories only are matched.

KEntryAttMatchExclude& Bit mask flag provided to exclude files or directories with certain attributes from directory listings. This bitmask has the opposite effect to KEntryAttMatchExclusive&. For example —

KEntryAttMatchExclude& OR KEntryAttReadOnly& excludes all read only entries from the directory listing.

KEntryAttMatchExclusive& OR KEntryAttReadOnly& lists only read only entries.

KEntryAttAllowUid& Bit mask flag used when UID information should be included in the directory entry listing.
KFileShareMask& Bit mask provided for retrieving a file's share mode.