Windows cmd color, font, color font set up

Source: Internet
Author: User

Windows Cmds default font is ugly, ugly not look straight, "like flowers" in general.

But it always works.

This is a result of my optimization, how to get it?

I come to teach you, first set up a Cmd.exe shortcut, for what, because Cmd.exe is unable to save the settings, which is why you press the online steps in the registry every time

Finished setting, but run-cmd is still the ugly font after open, right-click the title bar->properties->font still does not have your newly added font, then restarts again and again, OH

found no avail, and finally gave up.

Set up a shortcut to cmd, if named Rayter {Ray Terminal}, then right-click on "Properties",

Add in the target input box, or replace All

%windir%\system32\cmd.exe/k c:&& color 0f&&prompt $P $g

Let me explain:

%windir% indicates where Windows is installed, that is, the usual C-drive

%windir%\system32\cmd.exe is where the cmd.exe command is located.

/k is a cmd parameter that executes the following command, and does not exit cmd (that is, do not close the window)

C: to the C drive, is a command, to D is the D:, and so on

&& indicates "and" before execution succeeds before performing this

Color 0F indicates the foreground color (foreground color, that is, the font color is set to white)

and set the background color to black, if you need other color settings: color/? See more

prompt Indicates the format of the prompt to be set

$p/$P indicates that the C:\Users\ray\Downloads part of the above is position

$G/$g Representation > This section

Other settings can refer to [ my other new or old symbol ]

The following start in (Start position) Enter the location where you open the terminal, I set the downloads in the home directory

[Overall, Windows is really limited compared to UNIX and LINUX/GNU for terminal settings]

。。。。 Follow up to be mended ....

Reference:

1. http://msdn.microsoft.com/en-us/library/ms977170.aspx

2. http://blog.sina.com.cn/s/blog_4aee3e5b0100cnbs.html

3. http://huaidan.org/archives/1765.html

Windows cmd color, font, color font set up

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.