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

72 lines
1.8 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,11 - Search for First Entry Using FCB</title>
<meta name="FORMATTER" content="Microsoft FrontPage 2.0">
</head>
<body>
<h1><a name="kap_interrupt_1630"></a>INT 21,11 - Search for First
Entry Using FCB</h1>
<p> AH = 11h</p>
<p> DS:DX = pointer to unopened ~FCB~</p>
<p> on return:</p>
<p> AL = 00 if matching file found</p>
<p> = FF if file not found</p>
<p> - searches for first occurrence of filename specified in FCB</p>
<p> - FCB must have drive id, filename, and extension before call</p>
<p> - extended FCB can be used to specify a search criteria based</p>
<p> on attributes; hidden, system, label, and directory
attributes</p>
<p> can be used to narrow the search (see ~FILE ATTRIBUTES~)</p>
<p> - after successful call DTA holds an unopened ~FCB~/~XFCB~
for</p>
<p> the requested file. Using any of the other FCB functions</p>
<p> destroys this ~DTA~ copy of the FCB/XFCB</p>
<p> - searching can be continued with the FCB find-next function</p>
<p> - &quot;?&quot; wildcard supported after DOS 2.1,
&quot;*&quot; supported in DOS 3.x</p>
<p> - DOS 2.x can't find . and .. entries, DOS 3.x can (unless in
root)</p>
<p> - see ~INT 21,12~</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>