标题: [其他] eecho.exe --- 增强版 echo (可设置文字颜色、位置...) [打印本页]
作者: tmplinshi 时间: 2013-4-19 00:20 标题: eecho.exe --- 增强版 echo (可设置文字颜色、位置...)
C:\>eecho.exe --help
Usage: eecho.exe [OPTION] string
Enhanced Echo.
string String to print. Use double-quotes to delimit
strings with spaces.
-b, --background=# Background color.
-f, --foreground=# Foreground color.
Colors are numbers between 0 and 15:
0 = Black 8 = Gray
1 = Blue 9 = Light Blue
2 = Green 10 = Light Green
3 = Aqua 11 = Light Aqua
4 = Red 12 = Light Red
5 = Purple 13 = Light Purple
6 = Yellow 14 = Light Yellow
7 = White 15 = Bright White
-c, --clear Clear screen before starting.
-E, --Escape Disable interpretation of backslash escapes.
DEFAULT: (or not specified) Disable.
-e, --escape Enable interpretation of backslash escapes.
\\ backslash
\a alert (BEL)
\b backspace
\c produce no further output
\e escape
\f form feed *
\n new line
\r carriage return
\t horizontal tab
\v vertical tab *
\0NNN byte with octal value NNN (1 to 3 digits)
\xHH byte with hex value HH (1 to 2 digits)
NOTE: Never enabled if -x or -y.
* Not implemented natively in Windows, uses
SetConsoleCursorPosition() for display effect.
For actual characters, use octal or hex equivalents:
\f = \0014 = \x0C
\v = \0013 = \x0B
-i, --info Print console parameter information and exit.
-n, --nonewline Do not print a newline (\n) after string.
-r, --relative Make output relative to the current viewable console
area in terms of provided (x,y) coordinates.
-x # X coordinate to start output. 0 <= # < MAX_BUF_WIDTH
-y # Y coordinate to start output. 0 <= # < MAX_BUF_HEIGHT
MAX_BUF_WIDTH and _HEIGHT are configurd under the 'Properties' menu,
'Layout' tab of the Command Prompt window.
--help display this help and exit
--version output version information and exit
示例:- eecho -x 10 -y 15 -b 10 -f 0 http://home.comcast.net/~mjvincent/software/home.html
复制代码
----------------------------
官网: http://home.comcast.net/~mjvincent/software/home.html
----------------------------
http://bcn.bathome.net/s/tool/index.html?key=eecho
欢迎光临 批处理之家 (http://www.bathome.net/) |
Powered by Discuz! 7.2 |