Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Int 21h Functions 11h and 12h
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Functions:  11h and 12h
 
  Title:       Find First or Next File
 
  See also:    Find First File (handle)
 
  Description:
 
     Searches the current directory on the designated drive for a
     matching filename.
 
     Input                          Output
 
     AH = 11h for first file        If function successful (matching file
        = 12h for next files        name found)
     DS:DX = segment:offset of        AL = 00h
             file control block       Buffer at current disk transfer
                                      area (DTA) address filled in as an
                                      unopened normal FCB or extended FCB,
                                      depending on type of FCB input to
                                      Function 11h
 
                                    If function unsuccessful (no matching
                                    filename found)
                                      AL = FFh
                                    -♦-