This is an old revision of the document!
Table of Contents
Note: This API call is for DOS and Win16 personality only. Use Family API for portability.
Int 21H, AH=4FH
Version
2 and higher
Brief
“FINDNEXT” - FIND NEXT MATCHING FILE
Family API
Input
AH = 4Fh Disk Transfer Area contains data block from previous FindFirst or FindNext call
Return
CF clear if successful
    Disk Transfer Area updated
CF set on error
    AX = error code (12h) (see #01680 at AH=59h/BX=0000h)
Notes
under Novell DOS 7, if the FindFirst call (AH=4Eh) had CX=0088h, then
  the next matching deleted file will be returned
since the entire state of a FindFirst/FindNext sequence is contained
  in the data block in the DTA, other disk operations such as renaming,
  moving, deleting, or creating files can cause inaccurate directory
  searches, such as finding the same file twice
 BUG:	DR DOS 3.41 and 5.0 return the Directory attribute for the volume label
        
See also
AH=12h,AH=4Eh,AX=714Fh,AX=71A1h
Note
Text based on Ralf Brown Interrupt List Release 61
| osFree Macro Library | |
|---|---|
| Video I/O | @SetMode @SetCurSz @SetCurPos @GetCur @SetPage @ScrollUp @ScrollDn @Scroll @GetChAtr @PutChAtr @PutCh @SetPalet @SetColor @SetDot @GetDot @WrtTTY @VideoState @GetMode @GetDisplay @GetVideoState @GetEGAInfo @Cls | 
| Hardware info | @Equipment @MemSize | 
| Serial I/O | @AuxInit @AuxSendChar @AuxRecieveChar @AuxStatus | 
| Tape I/O | @TapeOn @TapeOff @TapeRead @TapeWrite | 
| Keyboard I/O | @KbdStatus @CharIn @CharPeek | 
| Printer I/O | @PrnPrint @PrnInit @PrnStatus | 
| Disk I/O | @DskReset @DskStatus @DskRead @DskWrite @DskVerify @DskFormat | 
| Date and Time | @SetTime @GetTime | 
| Mouse | @MouInit @MouShowPointer @MouStatus @MouSetPos @MouSetMickey @MouRegion | 
| Memory manager | @ModBlok SET_BLOCK | 






