◄Summary► ◄Notes► ◄Example► ◄Back► ────────────────────────────────────────────────────────────────────────────── Description: Create Temporary File DOS 3 Only Creates a file with a unique name, in the current or specified directory on the default or specified disk drive, and returns a handle that can be used by the program for subsequent access to the file. The name generated for the file is also returned in a buffer specified by the program. Input Output ═══════════════════════════════════ ═════════════════════════ AH=5AH If function successful CX=attribute (bits can be combined) Carry flag=clear Bit(s) Significance (if set) AX=handle 0 read-only DS:DX=segment:offset of 1 hidden complete ASCIIZ pathname 2 system If function unsuccessful 3-4 reserved (0) Carry flag=set 5 archive AX=error code 6-15 reserved (0) DS:DX=segment:offset of ASCIIZ path -♦-