24.4 FileAttributes Values

The following bits are defined for FileAttributes:

Bit

Name

Bit Description

0

Read Only Bit

File can be read but not written to.

1

Hidden Bit

File will not be shown in a normal directory listing.

2

System Bit

File will not be shown in a normal directory listing.

3

Execute Only Bit

File can be loaded for execution only; once this bit has been set, it cannot be cleared.

4

Subdirectory Bit

Entry is a subdirectory, not a file.

5

Archive Bit

Bit is set if the file has been changed since it was last backed up.

6

Execute Confirm Bit

 

7

Shareable Bit (file only) or Old Private Bit (subdirectories only)

Bit is set if the file can be simultaneously accessed by more than one user.