Set Public File Read Attributes                        

Server

Y

Station

Y

Interrupt

21h

Input

Output

AX FFh DAh   Error Code (CF) AX
BX  Read Attributes Write Attributes     BX
CX   01h     CX
DS:DX  ASCIIZ File Name     DX
Error Codes:

        F2h = File not found
        03h = Path not found
        F1h = Invalid access (not the superuser or owner)
Representation of the file attributes in BH
Bit Dec Hex  Description
0 1 01h  Group Number 0
1 2 02h  Group Number 1
2 4 04h  Group Number 2
3 8 08h  Group Number 3
4 16 10h  Group Number 4
5 32 20h  Group Number 5
6 64 40h  Group Number 6
7 128 80h  Group Number 7
        0 indicates that Read Attributes are GRANTED
        1 indicates that Read Attributes are DENIED
Representation of the file attributes in BL
Bit Dec Hex  Description
0 1 01h  Group Number 0
1 2 02h  Group Number 1
2 4 04h  Group Number 2
3 8 08h  Group Number 3
4 16 10h  Group Number 4
5 32 20h  Group Number 5
6 64 40h  Group Number 6
7 128 80h  Group Number 7
        0 indicates that Write Attributes are GRANTED
        1 indicates that Write Attributes are DENIED


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .