3 tips for changing the color of the cmd command prompt _dos/bat

Source: Internet
Author: User

From Windows 95 to the present Windows 8, the system with the DOS command prompt software is black and white screen, in this colorful era, such software is a little feel that there is no freshness, here are some custom DOS command prompt color tips.

The first trick is to teach you to change the title of the DOS command prompt, run at the Start menu point, and enter "cmd/k title text" To get the custom title effect

The second technique can change the command character: Run at the Start menu point, and enter "cmd/k PROMPT [Text]" (Text is the new command prompt),

The third technique can change the foreground and background colors: CMD/T:GF (g is a hexadecimal number that specifies the background color. Commonly used colors have the following values: 0 black, 1 blue, 2 green, 3 light green, 4 red, 5 purple, 6 yellow, 7 white, 8 gray, 9 blue, a green, B light blue, C light red, D lavender , E light yellow, f bright white).

Or, the following figure:

Explanation: Color 02 0 represents background color, 2 represents foreground color

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.