The C-Packing directory of the boot. ini (hidden file) can use the ANSI control code to control the boot menu to display color, such as the following boot. INI:
Timeout=30
Default=multi (0) disk (0) rdisk (0) partition (3) WINDOWS
[Operating Systems]
multi (0) disk (0) rdisk (0) partition (2) windows= "[1;32mmicrosoft [1;34mwindows [1;33MXP Professional]/noexecute=optin/ Fastdetect
C:avldrxp.bin= "[1;36mavlgo-peldr"/noguiboot
multi (0) disk (0) rdisk (0) partition (3) windows= "[1;31mmicrosoft [1;33mwindmows [1;35msermver 2003]/noexecute=optout/ Fastdetect
C:1.bin= "[1;37mms-dos"
Effect diagram of the operation
About ANSI control codes:
The arrow + "[" declares the beginning of the escape sequence
The following "1" defines the default font width. For text attributes, these values are meaningful: 0, 1, 22, 4, 24, 5, 25, 7, 27, respectively: default, Bold, non-bold, underline, non-underline, flashing, non-flashing, inverse, non-explicit.
30m--37m set foreground color
40m--47m set background color
Optional colors: Red, green, yellow, blue, magenta, cyan, and white.
The color codes they correspond to are:
30 (Black), 31 (red), 32 (green), 33 (yellow), 34 (blue), 35 (magenta), 36 (cyan), 37 (white).
Use the same color method to set the background color, but to replace the first number "3" with "4",
40 (Black), 41 (red), 42 (green), 43 (yellow), 44 (blue), 45 (magenta), 46 (cyan), 47 (white).
such as can [1;32m;43m bold green foreground yellow background
Warm tip: boot. INI is an important system file, carefully modified, only modify the contents of the "Microsoft Windows XP Professional" Double quotation marks, do not modify the outside Oh.