There are so many codes, it's dizzying to look at.
I uploaded a file, which is much better than the echo command.
http://upload.cn-dos.net/img/1734.rar
Command usage
EchoX 2.5 - (C) 2004-2006 by Bill Stewart (
bstewart@iname.com)
Usage: echox ] ] message
or: echox -l
-c Specifies a color (01-FE).
-f, -b Specifies the foreground and background colors (0 through F).
-n Do not skip to the next line.
-w Specifies the message should be 'width' characters wide.
-r Right-aligns the message with respect to the specified width.
-e Centers the message with respect to the specified width.
message The text to be displayed.
-l Lists available colors in a table.
When specifying colors, the foreground color cannot match the background color.
If you specify -c, you cannot specify -f or -b (and vice versa).
The message can contain the following escape sequences: ~n (return), ~r (line
feed), and ~t (tab). To display a literal '~' if it's followed by n, r, or t,
use '~~'. Escape sequences are ignored if -w is specified.
——————————————————————————————————————————
First of all, we can use the -l parameter to see its color coding, and we can type "echox -l" in the command line.
It can be seen that it is the same as the color coding of ColorX above.
The -c parameter specifies the font color and background color. For example, echox -c ce "www.baidu.com" can display the www.baidu.com in yellow on a red background.
The -f and -b parameters specify the font color and background color respectively.
The -n parameter means not to wrap, which is more commonly used in for loops.
The -w parameter means that the specified character is displayed in the width of the command line, and you can directly follow a number representing the width.
The -r and -e parameters respectively mean right alignment and center alignment, and the default is left alignment.
For example: for /l %i in (9,-1,0) do @echox -c %i1 -n -r -w 30 "Www.Baidu.coM"
Friends who are interested can study it more, and can make many interesting things. =_+