en:docs:fapi:dosqfilemode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:docs:fapi:dosqfilemode [2021/09/17 08:06] – prokusheven:docs:fapi:dosqfilemode [2021/09/17 08:06] (current) – prokushev
Line 19: Line 19:
   * CurrentAttribute ([[PUSHORT]]) - output : Address of the file's current attribute.   * CurrentAttribute ([[PUSHORT]]) - output : Address of the file's current attribute.
  
- ^ Bit  | Description ^ +^ Bit  ^ Description ^ 
- | 15-6 | Reserved | +| 15-6 | Reserved | 
- | 5    | File archive | +| 5    | File archive | 
- | 4    | Subdirectory | +| 4    | Subdirectory | 
- | 3    | Reserved | +| 3    | Reserved | 
- | 2    | System file | +| 2    | System file | 
- | 1    | Hidden file | +| 1    | Hidden file | 
- | 0    | Read only file |+| 0    | Read only file |
  
 These bits can be set individually or in combination. For example, an attribute value of 0021H (bits 5 and 0 set to 1) indicates a read-only file that is archived. These bits can be set individually or in combination. For example, an attribute value of 0021H (bits 5 and 0 set to 1) indicates a read-only file that is archived.