|
|
Copyright 1991 David Jurgens |
INT 21,43 - Get/Set File Attributes
AH = 43h
AL = 00 to get attribute
= 01 to set attribute
DS:DX = pointer to an ASCIIZ path name
CX = attribute to set
│5│4│3│2│1│0│ CX valid file attributes
│ │ │ │ │ └──── 1 = read only
│ │ │ │ └───── 1 = hidden
│ │ │ └────── 1 = system
│ └─┴─────── not used for this call
└────────── 1 = archive
on return:
AX = error code if CF set (see DOS ERROR CODES)
CX = the attribute if AL was 00
- see DIRECTORY
|
|
Esc or Alt-X to exit |
int 21,43 |
Home/PgUp/PgDn/End ←↑↓→ |