mov ax, 0B706h ;Get APPEND.EXE Modes Flag
int 2Fh ;Multiplex Interrupt
mov Modes, bx ;APPEND.EXE operation modes
Get APPEND.EXE Modes Flag (Interrupt 2Fh Function 0B706h) returns the current operation modes for the Append program.
This function has no parameters.
If the function is successful, the BX register contains the operation modes, which can be a combination of the following values:
Bit | Meaning |
0 | The Append program is enabled. |
12 | The Append program applies appended directories to file requests that already specify a drive. |
13 | The Append program applies appended directories to file requests that already specify a path. This bit is set if the /path switch is on. |
14 | The Append program stores the appended directories in the append environment variable. This bit is set if the /e switch has been specified. |
15 | The Append program applies appended directories to functions such as Load and Execute Program, and Find First File (Interrupt 21h Functions 4B00h and 4Eh). This bit is set if the /x switch is on. |
All other bits are reserved and must be zero.
Interrupt 2Fh Function 0B707h Set APPEND.EXE Modes Flag