qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 21H Function 11H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Find First File
 
  Searches the current directory on the designated drive for a matching
  filename.
 
  Input                                   Output
  ════════════════════════════            ════════════════════════════════
  AH=11H                                  If function successful (matching
  DS:DX=segment:offset of file            filename found)
        control block                     AL=00H
                                          and buffer at current disk trans-
                                           fer area (DTA) address filled
                                           in as an unopened normal FCB
                                           or extended FCB, depending on
                                           which type of FCB was input to
                                           function
                                          If function unsuccessful (no
                                           matching filename found)
                                          AL=FFH
                                    -♦-