Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: nyu notesfiles V1.1 4/1/84; site ur-univax.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!rochester!ur-univax!pier From: pier@ur-univax.UUCP Newsgroups: net.micro.pc Subject: Re: change colors in dos Message-ID: <1200022@ur-univax.UUCP> Date: Thu, 16-May-85 10:49:00 EDT Article-I.D.: ur-univa.1200022 Posted: Thu May 16 10:49:00 1985 Date-Received: Fri, 17-May-85 05:54:11 EDT References: <2768@drutx.UUCP> Organization: University of Rochester: Computing Center Lines: 22 Nf-ID: #R:drutx:-276800:ur-univax:1200022:000:699 Nf-From: ur-univax!pier May 16 10:49:00 1985 You can also us ethe powerfull PROMPT command in DOS. I use it to put the current directory, date and time on the top line of the screen and set the colors of that line and the rest of the screen. The following is a batch file that has 4 parameters: the top line foreground color the top line background color the screen foreground color the screen background color The parameters are numbers for each color between 0 and 7 echo off PROMPT $E[s$E[0;0H$E[3%1m$E[4%2mDirectory: $P $D $T$E[K$E[3%3m$E[4%4m$E[K$E[u$N$G this is going to go through the net. Happy coloring Pierre Darmon University of Rochester {allegra|decvax|seismo}!rochester!ur-univax!pier