Function  12h   Search For Next Entry Using FCB                          (FCB) 

Search for next matching filename

entry AH 12h

DS:DX pointer to the unopened FCB specified from the previous Search

First (11h) or Search Next (12h)

return AL 00h if matching filename found

0FFh if matching filename was not found

note 1) After a matching filename has been found using function call 11h,

function 12h may be called to find the next match to an ambiguous

request. For DOS 2.x, ?'s are allowed in the filename. For DOS 3.x

and 4.x, global (*) filename characters are allowed.

2) The DTA contains info from the previous Search First or Search Next.

3) All of the FCB except for the name/extension field is used to keep

information nescessary for continuing the search, so no disk operations

may be performed with this FCB between a previous function 11h or 12h

call and this one.

4) If the file is found, an FCB is created at the DTA address and set up to

open or delete it.