[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[其他] 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


示例:
  1. 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

返回列表