![]() |
中国DOS联盟-- 联合DOS 推动DOS 发展DOS --联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum |
| 游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟 |
|
中国DOS联盟论坛 现在时间是 2026-10-01 13:09 |
共 47,813 主题排行 / 349,918 发帖 / 今日 0 篇 / 48,279 会员排行 |
| DOS批处理 & 脚本技术(批处理室) » 很强的DOS下16色彩屏显示工具--超越color命令 |
| 可打印版本 1,038 / 0 |
| 第1楼 lincc0519 | 发表于 2009-10-25 20:02 |
| 初级用户 发帖 17 积分 24 | |
|
很强的DOS下16色彩屏显示工具--超越color命令 以前在网看到了就下载了,给大家分享分享
详细介绍和用法: lxmxn 译: 它可以以多种样式在命令行环境下的显示执行的字符,功能比较强大。来看看他的命令行帮助: —————————————————————————————————————————— 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. —————————————————————————————————————————— 首先,我们可以使用-l 参数来看看它的颜色编码,可以在命令行键入"echox -l"。 可以看出和上面的 ColorX 的颜色编码是一样的。 -c 参数指定字体颜色和背景颜色。比如 echox -c ce "www.baidu.com" 可以在红色背景上显示黄色的 www.baidu.com 。 -f、-b 参数分别指定字体颜色和背景颜色。 -n 参数表示不换行的意思,在for循环里面比较常用。 -w 参数表示指定的字符在命令行显示的宽度,后面直接跟一个表示宽度的数字就可以了。 -r -e 参数分别表示居右,居中显示,缺省是居左显示的。 举个例子: for /l %i in (9,-1,0) do @echox -c %i1 -n -r -w 30 "Www.Baidu.CoM" 有兴趣的朋友可以多研究一下,可以做出很多好玩的东东。 =_+ http://upload.cn-dos.net/img/1734.rar [ Last edited by lincc0519 on 2009-10-25 at 20:11 ] |
|
|
[ 联系联盟系统管理团队 -
中国DOS联盟 -
标准版 ] Sponsored by ifanr Inc | © 2001–2023 |