Search found 3 matches

by ebloch
01 Apr 2016 16:53
Forum: DOS Batch Forum
Topic: Color Function 21 22 23c
Replies: 40
Views: 54158

Re: Color Function 21 22 23c

I did not know of the batch you mention when I decided to make my COLOR.bat. I have many batch files using the original call to a color subroutine so the total storage required is growing and, most important, if a change in the subroutine is needed too many places to find and change. I decided to us...
by ebloch
27 Mar 2016 14:47
Forum: DOS Batch Forum
Topic: Color Function 21 22 23c
Replies: 40
Views: 54158

Re: Color Function 21 22 23c

Great function for which I offer a small addition to simplify the CALL and help my memory for text color. Add the following at the beginning before :Color and then one can use the original CALL or a CALL without the \n and use R for red and G for green text. Set "_CLR=%1" IF "%1"...
by ebloch
20 Apr 2015 14:50
Forum: DOS Batch Forum
Topic: Color Function 21 22 23c
Replies: 40
Views: 54158

Re: Color Function 21 and Color Function 22

Win 7 Home Premium SP-1 64 bit I may have found an error/bug: - - After the following two commands: SET xc=%Time: =0% Start Test CALL :COLOR C "%xc%" \n - - The following command works: ECHO %Linex% %Time: =0% & ECHO( - - The following does NOT work: ( ECHO %Linex% %Time: =0% ) & E...