no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | en:docs:dos:api:int21:37:00 [2020/12/14 09:57] (current) – created prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{page> | ||
+ | |||
+ | ====== Int 21H, AH=37H, AL=00H ====== | ||
+ | |||
+ | ===== Version ===== | ||
+ | |||
+ | 2 and higher | ||
+ | |||
+ | ===== Brief ===== | ||
+ | |||
+ | GET SWITCH CHARACTER | ||
+ | |||
+ | ===== Family API ===== | ||
+ | |||
+ | |||
+ | |||
+ | ===== Input ===== | ||
+ | |||
+ | AX = 3700h | ||
+ | |||
+ | ===== Return ===== | ||
+ | |||
+ | AL = status | ||
+ | 00h successful | ||
+ | DL = current switch character | ||
+ | FFh unsupported subfunction | ||
+ | |||
+ | ===== Macro ===== | ||
+ | |||
+ | |||
+ | ===== Notes ===== | ||
+ | |||
+ | Determine the character which is used to introduce command switches. | ||
+ | This setting is ignored by MS-DOS commands in version 4.0 and higher, | ||
+ | but is honored by many third-party programs and by Novell DOS 7 | ||
+ | external commands | ||
+ | BUG: Novell DOS 7's COMMAND.COM (prior to Update 15) fails to honor the | ||
+ | | ||
+ | honors it in its own command tail (i.e. COMMAND /?); even in Update | ||
+ | 15, internal commands fail to honor SwitChar for the /? help option | ||
+ | documented in some OEM versions of some releases of DOS | ||
+ | supported by OS/2 compatibility box | ||
+ | always returns AL=00h/ | ||
+ | Novell DOS 7 COMMAND.COM indicates switch characters other than '/' | ||
+ | by changing the first backslash (and only the first one) in the | ||
+ | path it prints for PROMPT $p with a forward slash | ||
+ | |||
+ | ===== See also ===== | ||
+ | |||
+ | | ||
+ | |||
+ | |||
+ | ===== Note ===== | ||
+ | |||
+ | Text based on [[http:// | ||
+ | |||
+ | {{page> | ||
+ | |||
+ | {{page> | ||
+ | |||