![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-13 13:46 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » How can you change the color of letters under DOS? |
| Printable Version 1,824 / 7 |
| Floor1 jinglikeblue | Posted 2006-10-20 10:46 |
| 新手上路 Posts 4 Credits 12 | |
|
As the title says! How to save after setting so that the modified color is used every time DOS is run
|
|
| Floor2 lxmxn | Posted 2006-10-20 13:04 |
| 版主 Posts 4,938 Credits 11,386 | |
|
I don't know whether the owner is talking about changing the letter color of pure DOS or the letter color of the command prompt under Windows.
If it is to change the color of the characters in the command prompt, you can right-click the title bar of the command prompt, then select Properties, then select the Color tab, set the color, click OK, and then click the second "Save properties so that windows with the same title can use them in the future" item. |
|
| Floor3 electronixtar | Posted 2006-10-20 21:53 |
| 铂金会员 Posts 2,672 Credits 7,493 | |
|
Search for the keyword ANSI
|
|
| Floor4 jinglikeblue | Posted 2006-10-21 09:00 |
| 新手上路 Posts 4 Credits 12 | |
|
Reply to floor 2, what I mean is in the environment of pure DOS or DOS boot disk
Reply to floor 3, thank you, I'm also from Chengdu |
|
| Floor5 lllenxue | Posted 2006-10-21 09:06 |
| 新手上路 Posts 5 Credits 10 | |
| Floor6 hardysant | Posted 2006-12-04 18:55 |
| 新手上路 Posts 3 Credits 6 | |
|
In WINDOWS:
color Sets the default foreground and background colors of the console. COLOR attr Specifies the color attributes of console output The color attribute is specified by two hexadecimal digits -- the first is the background, the second is the foreground. Each digit can be one of the following values: 0 = black 8 = gray 1 = blue 9 = light blue 2 = green A = light green 3 = turquoise B = light turquoise 4 = red C = light red 5 = purple D = light purple 6 = yellow E = light yellow 7 = white F = bright white If no parameters are given, the command restores the color to what it was when CMD.EXE started. This value comes from the current console window, the /T switch, or the DefaultColor registry value. If the COLOR command is executed with the same foreground and background colors, the COLOR command sets ERRORLEVEL to 1. For example: "COLOR fc" produces bright red on bright white For DOS: http://www.cn-dos.net/forum/viewthread.php?tid=1272&fpage=1&highlight=ANSI |
|
| Floor7 DOSforever | Posted 2006-12-07 07:55 |
| 金牌会员 Posts 2,239 Credits 4,639 | |
|
Don't bring Windows stuff here to join in the fun.
|
|
| Floor8 x412637729 | Posted 2006-12-24 09:34 |
| 初级用户 Posts 19 Credits 38 | |
|
It is suggested to use ANSI control codes
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |