修改MSDOS窗口标题、大小、字体及背景颜色(Modify the MSDOS window title, size, font, and background color).docVIP

  • 79
  • 0
  • 约4.14千字
  • 约 11页
  • 2017-07-25 发布于河南
  • 举报

修改MSDOS窗口标题、大小、字体及背景颜色(Modify the MSDOS window title, size, font, and background color).doc

修改MSDOS窗口标题、大小、字体及背景颜色(Modify the MSDOS window title, size, font, and background color)

修改MSDOS窗口标题、大小、字体及背景颜色(Modify the MSDOS window title, size, font, and background color) Through the batch Bat, you can modify the MSDOS window title, size, font and background color, etc., the following one by one to introduce you. The following method allows you to use code directly in the MSDOS window, or you can write code into the BAT file. Change window size Mode con cols=30 lines=20 Setting the title of CMD window Title= window title For example: title= public computer Change font and background color Color [fb] For example: color 47 Explain: F: foreground color, that is, font color B: background color, that is, the background color of the CMD window List of descriptions of colors and values Value color 0 black 1 Blue 2 green 3 lake blue 4 red 5 Purple 6 yellow 7 white 8 grey 9 light blue A light green B shallow green C light red D light purple E light yellow F bright white If youre not sure yet, then try to test it by the following method. Start menu run, in the pop-up dialog box, enter CMD, press enter, pop up the CMD window, in the window, enter the following command directly, and press enter. Color 26 In this way, you can see that the background color of the CMD window is yellow, and the input text is green. Come, from, , Article, Url? Http:///3828.html? 1, title drive to add a background image In the CMD menu bar add letter background map title Color 0E Sets the batch content color. It can be 0A; 0B; 1C; 2D...... The former number represents the background color, and the latter letter is the foreground. Each number can be one of any of the following values: 0 = black 1 = blue 2 = green 3 = lake blue 4 = red 5 = Purple 6 = yellow 7 = white 8 = grey 9 = light blue A = light green B = light green C = light red D = Mauve E = light yellow F = bright white If no arguments are given, the command will restore the color to the color of the CMD.EXE startup. 2. Mode sets the size of the DOS command window Mode con cols=, length lines=, upper and lower length Mode co

文档评论(0)

1亿VIP精品文档

相关文档