Page 1 of 1

Different Color text

Posted: 24 Apr 2012 11:50
by joakim
Hi, i want to add diffirent color on the text in one cmd window, I have tryid this,


@echo off
title color dif
cls
echo ==========================================
echo.
echo.
color a "echo lol"
color c "echo lol"
echo ===========================================

pause


but it dosnt work, thats why i ask 4 help by PROS =)

Re: Different Color text

Posted: 24 Apr 2012 12:07
by Squashman
Take a look at this thread from just a few days ago.
viewtopic.php?f=3&t=3248

Re: Different Color text

Posted: 26 Apr 2012 13:30
by Cat
I personally wouldn't recommend using

Code: Select all

<nul set /p ".="%DEL% " " >> "%~2"
findstr /v /a:%~1 /R "^$" "%~2" nul
del "%~2" > nul 2>&1
goto :eof

'Bit too slow and it constantly creates and deletes files.
Try this: http://bit.ly/Is1MPj

Re: Different Color text

Posted: 26 Apr 2012 18:29
by Aacini
You may use my ColorMsg program instead, it is the fastest way to do that and it's free!

Code: Select all

@echo off
title color dif
cls
echo ==========================================
echo.
echo.
colorMsg a "echo lol"
echo.
colorMsg c "echo lol"
echo.
echo ===========================================

pause

Re: Different Color text

Posted: 01 May 2012 09:10
by joakim
wow tnx 4 all the help bros =) this post is {SOLVED}