Index | Syntax | Notes Device Drivers



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
-Top- | Syntax | Notes Device Drivers