PC Review


Reply
Thread Tools Rate Thread

different color for each lien?

 
 
Kok Yong Lee
Guest
Posts: n/a
 
      21st Nov 2006
hi there,

just wonder is it possible to print out test.char in dos prompt in various
color in a single session?


c:\junk>This line in RED
c:\junk>This line in Yellow
so on and so forth.


color command tend to change everything in the dos prompt, I am looking for
some local changes.

thanks.


 
Reply With Quote
 
 
 
 
Mark V
Guest
Posts: n/a
 
      21st Nov 2006
In microsoft.public.win2000.cmdprompt.admin Kok Yong Lee wrote:

> hi there,
>
> just wonder is it possible to print out test.char in dos prompt
> in various color in a single session?
>
>
> c:\junk>This line in RED
> c:\junk>This line in Yellow
> so on and so forth.
>
>
> color command tend to change everything in the dos prompt, I am
> looking for some local changes.


CMD.EXE does not support the ANSI text color commands as did DOS'
command.com.

There are several workarounds but this
CTEXT.EXE (Dennis Bareis)
http://users.cyberone.com.au/dbareis/freew32.htm

may be most useful.

Also, COLORX.EXE (Bill Stewert)
http://internet.cybermesa.com/~bstewart/sst.html

 
Reply With Quote
 
Timo Salmi
Guest
Posts: n/a
 
      21st Nov 2006
Kok Yong Lee <(E-Mail Removed)> wrote:
> just wonder is it possible to print out test.char in dos prompt in various
> color in a single session?


51} How can I echo lines in different colors in NT scripts?
179284 Oct 21 2006 ftp://garbo.uwasa.fi/pc/link/tscmd.zip
tscmd.zip Useful NT/2000/XP script tricks and tips, T.Salmi

All the best, Timo

--
Prof. Timo Salmi ftp & http://garbo.uwasa.fi/ archives 193.166.120.5
Department of Accounting and Business Finance ; University of Vaasa
private.php?do=newpm&u= <http://www.uwasa.fi/~ts/> ; FIN-65101, Finland
Timo's FAQ materials at http://www.uwasa.fi/~ts/http/tsfaq.html
 
Reply With Quote
 
Bill Stewart
Guest
Posts: n/a
 
      27th Nov 2006
Kok Yong Lee wrote:

> just wonder is it possible to print out test.char in dos prompt in various
> color in a single session?
>
> c:\junk>This line in RED
> c:\junk>This line in Yellow
> so on and so forth.


My echox.exe utility will do this:

echox -f C "This line in red"
echox -f E "This line in yellow"

http://www.cybermesa.com/~bstewart/sst.html

--
Bill Stewart
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to do a lien documentation Rosie Microsoft Powerpoint 1 22nd Feb 2009 06:25 AM
ouvrir un lien Jean-Claude-MAZE Microsoft Access 1 6th Sep 2007 05:07 PM
Lien freeware Bareuzai Freeware 1 24th May 2006 06:13 PM
proposer lien Malorie GUICHETEAU Microsoft Access ADP SQL Server 0 17th Feb 2005 11:00 PM
lien Bob Freeware 0 3rd Oct 2003 09:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:02 PM.