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~


Zurück zum Interrupt Info. Roger Morgan / 1998 L.Änderung 29.03.99