Interrupt 2Fh Function 0B711h Set True-Name Flag

mov ax, 0B711h ;Set True-Name Flag

int 2Fh ;Multiplex Interrupt

Set True-Name Flag (Interrupt 2Fh Function 0B711h) sets the current program's flag that specifies whether the append command converts a filename to a full path when it processes system functions such as Open File with Handle (Interrupt 21h Function 3Dh).

Parameters

This function has no parameters.

Return Value

This function has no return value.

Comments

If the true-name flag is set, append expands filenames that are passed to the following functions:

Open File with Handle (Interrupt 21h Function 3Dh)
Get File Attributes (Interrupt 21h Function 4300h)
Find First File (Interrupt 21h Function 4Eh)
Extended Open/Create (Interrupt 21h Function 6Ch)

For each function, the program passes an address to the zero-terminated filename and append copies the zero-terminated path to the same address. The program making the call must ensure that the buffer at the address is large enough to contain the full path. The append command resets the true-name flag after expanding a filename.

See Also

Interrupt 21h Function 3Dh Open File with Handle
Interrupt 21h Function 4300h Get File Attributes
Interrupt 21h Function 4Eh Find First File
Interrupt 21h Function 6Ch Extended Open/Create