◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Include: DOS.INC Syntax: @MakeFile path [,[attrib] [,[segment] [,kind]]] Summary: Creates a file Arguments: <path> ASCIIZ string of file. Must be an offset address. <attrib> File attribute; 0 is default if none given. <segment> Segment of address string; DS if not given. <kind> If none given, a file is created even if one already exists. Under DOS 3.x, "tmp" can be given to create a unique file or "new" to create a file only if one doesn't already exist. Returns: If carry: clear, file handle in AX Modifies: AX, DX, CX; DS if segment changed See also: Int 21h Functions 3Ch, 5Ah, and 5Bh, @OpenFile, @CloseFile -♦-