◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Include: DOS.INC Syntax: @GetFirst path [,[attribute] [,segment]] @GetNext Summary: Converts file specifications (optionally including wild cards) into filenames. These macros are usually used with @GetDTA and @SetDTA. Use @SetDTA to set the address where the data for each file will be stored. Arguments: <path> Offset address of fully specified ASCIIZ file name; can have wild cards. Must be an offset address. <attribute> File attribute to search for; 0 for normal if none given. <segment> Segment of path; uses DS if none given. Returns: If carry: set, error code in AX Modifies: For @GetFirst, AX, CX, DX; DS if segment changed; for @GetNext, AX only See also: Int 21h Functions 4Eh and 4Fh, @SetDTA, @GetDTA, SHOW.ASM -♦-