DOS Fn 12H: Find Next Matching File via FCB
Compatibility: 1.0+
Expects: AH 12H
DS:DX address of an unopened FCB (filespec may contain '?'s)
──────────────────────────────────────────────────────────────────
Returns: AL 0 if a matching filename found (and DTA is filled)
0ffH if no match was found
──────────────────────────────────────────────────────────────────
Info: Use this after calling DOS Fn 11H Find 1st FCB with a wildcard▲
filespec. Each subsequent call fills the DTA with the next
matching filespec's directory entry and returns AL=00H if a match
is found or AL=0ffH if no match was found.
The reserved area of the FCB carries information used in
continuing the search, so don't open or alter the FCB between
calls to Fns 11H and 12H.
See Also: Fn 4fh (find next file)
Directory and File Functions
DOS Functions
-♦-