From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: dos color ? Date: 13 Jun 2000 14:23:36 GMT Organization: Aachen University of Technology (RWTH) Lines: 19 Message-ID: <8i5g58$btg$1@nets3.rz.RWTH-Aachen.DE> References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 960906216 12208 137.226.32.75 (13 Jun 2000 14:23:36 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 13 Jun 2000 14:23:36 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com smile773 wrote: > Could one of you nice persons please share some code > so that I can change the dos console to blue with white > letters ? The DOS console itself? I.e. the background of the command prompt? I don't think you can do that. The problem is that some of DOS' own commands, most notably 'mode con' can reset the video mode and that will override whatever changes you wanted to make. About the only way is to install ANSI.SYS (or an improved replacement of it), and put ANSI-ESCape sequences into the PROMPT string. And of course, this still doesn't mean that all DOS programs will respect this. This is DOS, after all: the system where each and every program is entitled to believe it can do to global system state whatever it wants, and ignore anything set up before it was started. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.