For example, to highlight the prompt in MS-DOS command prompt, you must add "dosonly" to your CONFIG.NT file, and run COMMAND (not CMD) from MS-DOS Command Prompt. You can then run a batch file that includes the PROMPT command with ANSI escape sequences to highlight the prompt.
NOTE: While this gives the command prompt the same appearance as an MS-DOS prompt, you are now in a DOS-based command prompt, and you can no longer start non-DOS programs from the command line.
ANSI.SYS, being an MS-DOS-based device driver, can be used only in the context of the MS-DOS subsystem.
VT52.SYS may be used in the same manner as ANSI.SYS, with the same restrictions.
ID d'article : 101875 - Dernière mise à jour : 31 oct. 2006 - Révision : 1