Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
ANSI.SYS--Examples
◄Syntax► ◄Notes►
────────────────────────────────────────────────────────────────────────────
ANSI.SYS──Examples
To exchange the backslash and question-mark keys by using literal strings,
type the following escape sequence:
ESC["\";"?"pESC["?";"\"p
To exchange the backslash and question-mark keys by using each key's ASCII
value, type the following escape sequence:
ESC[92;63pESC[63;92p
To restore the backslash and question-mark keys to their original meanings,
type the following escape sequence:
ESC[92;92pESC[63;63p
To specify that MS-DOS display a directory listing when you press the F2
key, type the following at the command prompt:
prompt $e[0;60;"dir";13p
To specify a black screen background color and a high-intensity screen
foreground color, type the following at the command prompt:
prompt $e[1;32;40m$p$g
♦