Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>function 4fh (79) find next matching file (find next)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 4Fh (79)        Find Next Matching File (FIND NEXT)

    Finds the next matching file (after a previous call to Function 4Eh or
    4Fh call) and returns information at the current DTA address.

       On entry:      AH         4Fh

       Returns:       AX         Error code, if CF is set

       Error codes:   18         No more files to be found

                      Call Function 59h for extended error code information
                      (DOS 3.0 and above).

  --------------------------------------------------------------------------

    Function 4Fh continues the file search that was begun by Function 4Eh,
    returning 43 bytes of information at the current DTA address. The
    information is formatted as in Function 4Eh:

            Offset     Size       Description
             00h        21        Used by DOS for find-next processing
             15h         1        Attribute of file found
             16h         2        Time stamp of file
             18h         2        Date stamp of file
             1Ah         4        File size in bytes
             1Eh        13        Filename and extension, as an ASCIIZ string

    The filename and extension are reported in conventional notation, with
    blanks removed and a period between the filename and the extension. If
    the file has no extension, the period is suppressed.

See Also: 1Ah 4Eh 11h 12h 59h File Attributes

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson