
windows命令提示符

Command line interfaces can be downright boring and always seem to miss out on the fresh coats of paint liberally applied to the rest of Windows.? Here’s how to add a splash of color to Command Prompt and make it unique.
命令行界面可能非常無聊,并且似乎總是錯過了廣泛應用于Windows其余部分的新鮮油漆。 這是向命令提示符添加顏色飛濺并使其唯一的方法。
By default, Windows Command Prompt is white text on a black background. It gets the job done, but maybe you want to add some color to it.
默認情況下,Windows命令提示符是黑色背景上的白色文本。 它可以完成工作,但是也許您想為其添加一些顏色。

To get an overview of what we can do with the color command, let’s enter:
要大致了解我們可以使用color命令執行的操作,請輸入:
color /?
顏色/?

To get the color you want, enter color, then the option for the background color followed by the font color.? For example, let’s make an old-fashioned green on black look by entering:
要獲得所需的顏色,請輸入顏色,然后輸入背景色選項和字體顏色。 例如,讓我們通過輸入以下內容來制作黑色外觀上的老式綠色:
color 02
顏色02

There are a bunch of different combinations you can do, like this black background with red text.
您可以執行許多不同的組合,例如帶有紅色文本的黑色背景。
color 04
顏色04
![sshot-2010-05-05-[14-55-24]](https://img-blog.csdnimg.cn/img_convert/e7a9637e0bbb7f8ea227bf960ce0c769.png)
You can’t mess it up too much.? The color command won’t let you set both the font and the background to the same color, which would make it unreadable.? Also, if you want to get back to the default settings, just enter:
你不能把它弄得太多。 color命令不允許您將字體和背景都設置為相同的顏色,這將使其變得不可讀。 另外,如果要恢復默認設置,只需輸入:
color
顏色
Now we’re back to plain-old black and white.
現在我們回到普通的黑色和白色。

Personalize Command Prompt Without Commands
在沒有命令的情況下個性化命令提示符
If you’d prefer to change the color without entering commands, just click on the Command Prompt icon in the top left corner of the window and select Properties.
如果您想更改顏色而不輸入命令,只需單擊窗口左上角的命令提示符圖標,然后選擇屬性。

Select the Colors tab, and then choose the color you want for the screen text and background.? You can also enter your own RGB color combination if you want.
選擇“顏色”選項卡,然后為屏幕文本和背景選擇所需的顏色。 如果需要,還可以輸入自己的RGB顏色組合。

Here we entered the RGB values to get a purple background color like Ubuntu 10.04.
在這里,我們輸入RGB值以獲得紫色背景色,如Ubuntu 10.04。

Back in the Properties dialog, you can also change your Command Prompt font from the font tab.? Choose any font you want as long as the one you want is one of the three listed here.
返回“屬性”對話框,還可以從“字體”選項卡更改命令提示符字體。 選擇所需的任何字體,只要所需的字體是此處列出的三種字體之一即可。

Customizations you make via the Properties dialog are saved and will be used any time you open Command Prompt, but any customizations you make with the Color command are only for that session.
您通過“屬性”對話框進行的自定義將被保存,并且在您每次打開命令提示符時都會使用,但是使用“顏色”命令進行的任何自定義僅適用于該會話。
Conclusion
結論
Whether you want to make your command prompt bright enough to cause a sunburn or old-style enough to scare a mainframe operator, with these settings, you can make Command Prompt a bit more unique.
使用這些設置,無論是要使命令提示符足夠明亮以致引起曬傷,還是要使老式的樣式足以嚇scar大型機操作員,都可以使命令提示符更加獨特。
翻譯自: https://www.howtogeek.com/howto/16815/how-to-personalize-the-windows-command-prompt/
windows命令提示符