please dont rip this site
Function  11h   Search For First Matching Entry                           (FCB) 

Searches current disk & directory for first matching filename

entry AH 11h

DS:DX pointer to address of FCB

return AL 00h successful match

0FFh no matching filename found

note 1) The FCB may contain the wildcard character ? under Dos 2.x, and ? or *

under 3.x and 4.x.

2) The original FCB at DS:DX contains information to continue the search

with function 12h, and should not be modified.

3) If a matching filename is found, AL returns 00h and the locations at the

Disk Transfer Address are set as follows:

a) If the FCB provided for searching was an extended FCB, then the first

byte at the disk transfer address is set to 0FFh followed by 5 bytes

of zeroes, then the attribute byte from the search FCB, then the

drive number used (1=A, 2=B, etc) then the 32 bytes of the directory

entry. Thus, the disk transfer address contains a valid unopened FCB

with the same search attributes as the search FCB.

b) If the FCB provided for searching was a standard FCB, then the first

byte is set to the drive number used (1=A,2=b,etc), and the next 32

bytes contain the matching directory entry. Thus, the disk transfer

address contains a valid unopened normal FCB.

4) If an extended FCB is used, the following search pattern is used:

a) If the FCB attribute byte is zero, only normal file entries are

found. Entries for volume label, subdirectories, hidden or system

files, are not returned.

b) If the attribute byte is set for hidden or system files, or

subdirectory entries, it is to be considered as an inclusive search.

All normal file entries plus all entries matching the specified

attributes are returned. To look at all directory entries except the

volume label, the attribute byte may be set to hidden + system +

directory (all 3 bits on).

c) If the attribute field is set for the volume label, it is considered

an exclusive search, and ONLY the volume label entry is returned.

5) This call is also used by the APPEND command in DOS 3.2+






file: /Techref/INT/21f/11.htm, 2KB, , updated: 1999/2/20 10:26, local time: 2024/11/19 06:37,
TOP NEW HELP FIND: 
18.188.55.184:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/Techref/INT/21f/11.htm"> INT 21f 11</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .