Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I know color can be added to Dos, but how? I just want to add it to my find
command...just for fun. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Do you mean this (c:\Help color):
Sets the default console foreground and background colors. COLOR [attr] attr Specifies color attribute of console output Color attributes are specified by TWO hex digits -- the first corresponds to the background; the second the foreground. Each digit can be any of the following values: 0 = Black 8 = Gray 1 = Blue 9 = Light Blue 2 = Green A = Light Green 3 = Aqua B = Light Aqua 4 = Red C = Light Red 5 = Purple D = Light Purple 6 = Yellow E = Light Yellow 7 = White F = Bright White If no argument is given, this command restores the color to what it was when CMD.EXE started. This value either comes from the current console window, the /T command line switch or from the DefaultColor registry value. The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute the COLOR command with a foreground and background color that are the same. Example: "COLOR fc" produces light red on bright white "denny" wrote: I know color can be added to Dos, but how? I just want to add it to my find command...just for fun. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For me when I type (c:\Help color), it just says Bad command or file name. I
have Win 98. Do some DOS versions not have it. It is not in the directory. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I found a suitable answer, if anyone else wants to know. You have to put
this in your config.sys file. DEVICE=C:\windows\command\ANSI.SYS The sequence used is $e[xx;yy;zzm xx=attribute code, yy=foreground color, and zz=background color. An example is prompt $e[1;31;44m$p$g$e[1;33;44m I used this one successfully--prompt $e[5;30;47m$p$g To SEARCH: Type F and one search word____$e[1;30;44m cls It seemed to have to be run twice though to make the whole screen blue ???? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Color fill cells to be added into totals | Excel Worksheet Functions | |||
Fill Color is added to additional rows | Excel Discussion (Misc queries) | |||
Added value to cell | Excel Discussion (Misc queries) | |||
Excel gridlines disappear when color is added | Excel Discussion (Misc queries) | |||
Calculating VAT (value added tax) | Excel Worksheet Functions |