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

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命令提示符

windows命令提示符_如何个性化Windows命令提示符相关推荐

  1. 以管理员身份打开命令提示符_如何在Windows 8或10中以管理员身份打开命令提示符...

    以管理员身份打开命令提示符 Much of the time, opening the Command Prompt as a regular user is all you need. Someti ...

  2. windows命令提示符_如何在Windows命令提示符中使用命令历史记录

    windows命令提示符 The Windows Command Prompt has a built-in history feature, allowing you to quickly view ...

  3. windows 全局变量_如何在Windows中使用全局系统环境变量

    windows 全局变量 Any system administrator who spends a good bit of time in the command prompt or batch s ...

  4. mysql windows乱码_小白楠--windows系统下mysql乱码

    最后查看mysql数据库编码 #命令提示符 #查看数据库编码,如下显示即可. show variables like '%char%'; +--------------------------+--- ...

  5. 修复windows脸部识别_如何在Windows 10中改善面部识别

    修复windows脸部识别 If you have the right hardware, Windows 10 lets you unlock your computer with nothing ...

  6. windows功能_你的Windows杀毒软件有这个功能吗?

    安全软件首推-火绒,良心之作. 比起360安全卫士.腾讯电脑管家,它无广告,无捆绑,无劫持,无弹窗,还免费. 我认为最喜人最贴心的功能属它的'弹窗拦截'了,可以拦截程序推送烦人的弹窗. 五大浓缩亮点 ...

  7. python 管理windows客户端_在远程windows客户端上执行python脚本

    我正在使用paramiko在远程windows服务器上执行命令.我能够执行dir之类的命令并提取输出,但是执行python脚本似乎失败了.不会引发错误消息.在 下面是我的代码片段:def ssh_co ...

  8. windows镜像_什么是windows镜像?什么是Ghost?它们有什么优缺点?

    大家好,欢迎回到万魔寺,从本期开始,从零开始学习安装操windows的教程就开始了, 这期,首先分享的是--零基础扫盲知识. 原本这是系列视频教程,发布后有许多朋友非常喜欢,期间有朋友提出部分语速过快 ...

  9. docker 运行windows程序_如何从Windows上运行任何Linux图形GUI程序?

    Win10上的wsl模式虽然解决了运行linux程序的痛点,然而所运行的程序依然受困于Terminal中.比如emacs: 终端版本的emacs 试图获得赏心悦目的视觉效果,比如优美的字体和图形,必须 ...

最新文章

  1. python中安装一个第三方库的命令格式是-无法使用pip命令安装python第三方库的彻底解决方案...
  2. (转)关于eclipse的TestNG的插件安装方法
  3. VS 2019 要来了,是时候了解一下 C# 8.0 新功能
  4. ios上的pvr与png
  5. ECSHOP商城网站建设之自定义调用广告方法(二)
  6. (2)Matplotlib_bar, barh
  7. 硬盘数据丢失原因?硬盘数据恢复方法
  8. 国考省考申论:归纳概括多个主体身上的优秀品质,透过动词现象(怎么做的),找到名词(精神品质)本质
  9. 固态硬盘多大合适 php,固态硬盘写入寿命是多久
  10. 别TM去外包公司!工作群里抢个红包都得退回去...
  11. ibm服务器卡在开机界面_使用HTTPS配置IBM Integration Bus Web用户界面
  12. 减肥怎么减?最全减肥食谱(超厉害的)
  13. linux--多目录下的MakeFile文件(嵌套Makefile)编写
  14. 换肤 技术 (转载)
  15. 【实用】OS X Lion restore Recovery HD Manually 手工创建 OS X Lion 恢复分区
  16. 下划线的作用(python)
  17. EasyCVR调用录像回看接口报错“查询文件失败”排查过程及解决方式
  18. lodop处理样式及打印html节点、url地址、pdf
  19. 神舟Z7-CT7NK配置深度学习环境遇到的问题,避免后续踩坑
  20. 数学建模美赛写作指导20篇(一)-美赛数学专业词汇

热门文章

  1. C#实现简体繁体转换代码示例
  2. linux安装mysql8依赖的环境_CentOS Linux release 8 安装mysql8.
  3. Java线程中关于Synchronized的用法
  4. 第2年,倒数第3天,1.5万票,感动!
  5. Vue 3源码剖析,看这篇就够了
  6. Xshell替代品 -- FinalShell
  7. 制造领域的人工智能技术
  8. python web scraping
  9. 1115: 零起点学算法22——华氏摄氏温度转换
  10. Shell 更好看的回显