Files
oldlinux-files/docs/interrupts/int-html0/inte7tv4.htm
2024-02-19 00:23:35 -05:00

64 lines
1.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text-html; charset=Windows-1252">
<title>INT 21,43 - Get/Set File Attributes</title>
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
</head>
<body>
<h1><a name="kap_interrupt_2090"></a>INT 21,43 - Get/Set File
Attributes</h1>
<p> AH = 43h</p>
<p> AL = 00 to get attribute</p>
<p> = 01 to set attribute</p>
<p> DS:DX = pointer to an ASCIIZ path name</p>
<p> CX = attribute to set</p>
<p> ¦5¦4¦3¦2¦1¦0¦ CX valid file attributes</p>
<p> ¦ ¦ ¦ ¦ ¦ +---- 1 = read only</p>
<p> ¦ ¦ ¦ ¦ +----- 1 = hidden</p>
<p> ¦ ¦ ¦ +------ 1 = system</p>
<p> ¦ +--------- not used for this call</p>
<p> +---------- 1 = archive</p>
<p> on return:</p>
<p> AX = error code if CF set (see ~DOS ERROR CODES~)</p>
<p> CX = the attribute if AL was 00</p>
<p> - see ~DIRECTORY~</p>
<hr>
<table border="0" width="100%" cols="3">
<tr>
<td width="33%">Zurück zum <a href="inte1at0.htm">Interrupt
Info</a>. </td>
<td align="center" width="33%"><a
href="mailto:Roger.Morgan@htl-steyr.ac.at">Roger Morgan</a>
/ 1998 </td>
<td align="right" width="33%"><font size="1">L.Änderung <!--webbot
bot="Timestamp" s-type="EDITED" s-format="%d.%m.%y"
startspan -->29.03.99<!--webbot bot="Timestamp" endspan
i-checksum="13964" --> </font></td>
</tr>
</table>
</body>
</html>