Как кастомизировать cmd windows 10

Время на прочтение3 мин

Количество просмотров16K

Привет, Хабр! Начиная с момента анонса на Microsoft Build 2019 и заканчивая выпусками версий 1.0, 1.1 и 1.2, Терминал вызывает большой интерес со стороны сообщества разработчиков. Мы очень рады этому и стараемся реализовывать все больше полезных и интересных функций.

Сегодня представляем вашему вниманию 3 пути кастомизации Windows Terminal. Среди них настройки цветовых схем, настройки вкладок, настройки курсоров. Заглядывайте под кат!

image

Windows Terminal представляет собой новое, современное, быстрое, эффективное, мощное и производительное приложение терминала для пользователей таких программ и оболочек командной строки, как Command Prompt, PowerShell и WSL.

К его основным функциям можно отнести поддержку нескольких вкладок, панелей, символов Unicode и UTF-8, модуль отрисовки текста с ускоренным GPU, а также возможность создания собственных тем и настройки текста, цвета, фона и привязок клавиш.

Сегодня мы рассмотрим три варианта настройки Терминала в соответствии с вашими предпочтениями цвета, курсора и вкладок.

Выберите свои цвета

Windows Terminal включает следующие цветовые схемы в файл defaults.json:

  • Campbell
  • Campbell Powershell
  • Vintage
  • One Half Dark
  • One Half Light
  • Solarized Dark
  • Solarized Light
  • Tango Dark
  • Tango Light

Доступ к данному файлу можно получить, удерживая клавишу Alt и нажимая кнопку «Settings».

Для наглядности ниже представлена схема Vintage:

image

Чтобы настроить схему внутри одного из профилей командной строки, добавьте свойство colorScheme с именем цветовой схемы в качестве значения.

“colorScheme”: “COLOR SCHEME NAME”

Каждый параметр, кроме имени, принимает значение цвета в виде строки в шестнадцатеричном формате («#rgb» или «#rrggbb»). Параметры cursorColor и selectionBackground являются необязательными.

Имя свойства: theme
Степень необходимости: Необязательный
Принимает: “system”, “dark”, “light”
Значение по умолчанию: “system”

Создайте свой курсор

Вне зависимости от того, являетесь ли вы приверженцем «старой школы» или «современной», Терминал предлагает полный набор параметров (отвечающих за форму, цвет и высоту), позволяющих создать курсор на любой вкус.

Вы предпочитаете горизонтальный или вертикальный курсор? Линию или «box»? Просто скажите Терминалу.

Этот параметр задает форму курсора для профиля. Возможны следующие курсоры: “bar” ( ┃ ), “vintage” ( ▃ ), “underscore” ( ▁ ), “filledBox” ( █ ), “emptyBox” ( ▯ ).

Имя свойства: cursorShape
Степень необходимости: Необязательный
Принимает: “bar”, “vintage”, “underscore”, “filledBox”, “emptyBox”
Значение по умолчанию: “bar”

Вы можете переопределить cursorColor, установленный в цветовой схеме, если задано значение colorScheme. Принимает значение цвета в виде строки в шестнадцатеричном формате (“#rgb” или “#rrggbb”).

cursorHeight задает процентную высоту курсора, начиная с нижнего. Это будет работать только в том случае, если для параметра cursorShape задано значение “vintage”. Принимаются целые числа от 25 до 100.

Настройте вкладки по своему вкусу

В Windows Terminal вы можете легко переименовывать и перекрашивать вкладки. Просто щелкните правой кнопкой мыши вкладку и выберите «Rename Tab», чтобы переименовать вкладку для текущего сеанса. Этот параметр изменит заголовок вкладки на текстовое поле, куда можно будет ввести свое название.

Сделайте то же самое, чтобы перекрасить вкладку. Выберите цвет в заранее определенном списке или нажмите «Custom», чтобы выбрать цвет из палитры либо задать нужный с помощью значения RGB/HSV или шестнадцатеричного значения.

Совет: используйте тот же оттенок, который используется в качестве цвета фона для получения красивого бесшовного окна!

image

Для получения большей информации о параметрах вкладок, рекомендуем ознакомиться с данным руководством.

Также советуем загрузить Windows Terminal Preview из Microsoft Store или со страницы выпусков на GitHub. Благодаря ему вы можете быть вовлечены в разработку Windows Terminal и использовать новейшие функции, как только они будут разработаны.

The Command Prompt (CMD) is a powerful tool, and many enjoy using it. However, it does look somewhat boring and intimidating, especially for younger audiences. The good news is that you can configure the Command Prompt settings according to your needs and preferences, as well as change its appearance and color scheme. This tutorial shows you how to customize CMD so that it not only looks better but also works the way you want it to. There is a lot to go through, so let’s get started:

IMPORTANT: Windows Terminal, introduced in 2020, is the default console host on Windows 11 computers and devices. Windows Terminal brings together Command Prompt, PowerShell, and other shells under one interface. The instructions shared in this tutorial apply to the standalone Command Prompt app found in Windows 10. If you run Command Prompt inside Windows Terminal on a Windows 11 PC, you have even more ways to tweak your Command Prompt settings, which are presented in this tutorial: How to customize the Windows Terminal.

What is the Command Prompt?

Before graphical user interfaces and Windows, the most used operating system was DOS (Disk Operating System) — a text-based operating system that allowed you to run programs by manually typing in commands. The launch of the Windows operating system simplified the whole computing experience by making it more visual. While DOS is no longer included in Windows operating systems since Windows ME (in 2000), we still have the Command Prompt application — the text command-line interpreter, analog of the command shell found in the old DOS operating system.

The Command Prompt showing some of the commands you can run

The Command Prompt showing some of the commands you can run

The Command Prompt is generally preferred by power users and IT staff, who use it to run all kinds of commands, from basics to more advanced networking and disk management commands.

It also helps you view system information, manage running processes, fix issues with your PC’s boot records, or even repair missing or corrupt Windows files. Although it’s not as popular among everyday users, this app has been updated and improved, and the Command Prompt Properties window comes with more customization options than you might think.

How to access Command Prompt’s Properties

While there are many ways to launch the Command Prompt, many prefer to type cmd in the taskbar’s search field and press Enter. Of course, you can also click or tap on the Command Prompt search result.

Open CMD using Windows 10 Search

Open CMD using Windows 10 Search

Once it launches, click or tap its C:\ icon in the top-left corner (or right-click/press-and-hold the title bar) to reveal the app’s menu. Then, choose Properties to begin exploring how to customize CMD through its detailed settings.

Go to Properties to make the desired changes

Go to Properties to make the desired changes

Alternatively, you can use the keyboard shortcut:

Alt + Space + P

The Properties window opens, displaying five tabs that can be used to configure the Command Prompt settings: Options, Font, Layout, Colors, and Terminal.

The different customizing options are split across five tabs

The different customizing options are split across five tabs

Let’s go over each of them:

Customize the cursor’s appearance in the Command Prompt

The first section of the Options tab, Cursor Size, controls the size of your blinking cursor when typing in the Command Prompt window. You can choose between Small (default), Medium, or Large.

Select one of the available size options

Select one of the available size options

You can also adjust the cursor from the Terminal tab’s experimental settings. The Cursor Shape section allows you to select a different shape for the blinking cursor.

The first option in this section is Use Legacy Style, which displays a thick underscore in its default Small cursor size, and a solid, square box when Medium-sized. When switching to a Large size cursor, the Use Legacy Style option is effectively the same as Solid Box, which transforms the cursor into a solid rectangle at all times. None of the other shape options shows any differences based on the cursor’s size, and, for most of them, their appearance is easy to figure out from their names: Underscore, Vertical Bar, and Empty Box, the latter being the outline of a vertical rectangle.

Select a shape for your cursor

Select a shape for your cursor

IMPORTANT: Of course, you can always test them out, but keep in mind that the Cursor Shape currently resets to the default Use Legacy Style every time you re-open the Command Prompt Properties. If you change other CMD settings, make sure to select your desired Cursor Shape again, before pressing OK.

Under Cursor Colors (still in the Terminal tab), you can select Use Color and enter a custom RGB decimal value to color your cursor. There’s an extensive list of codes here, but you can also use a search engine to find your favorite color, and the box under the option helps by offering a real-time preview of your choice. The Inverse Color option automatically adjusts the cursor to have the complementary color to the one of your chosen background. Whenever you change the background color, the cursor changes accordingly.

Select a color for your cursor

Select a color for your cursor

Customize the size and type of font used in the Command Prompt

From the Font tab, you can easily change the font used in the Command Prompt window. The top section adjusts the Size of the font. Either pick a value from the list or click (or tap) the box to enter a custom Size (between 5 and 72).

Select or enter a size for the font in the Command Prompt

Select or enter a size for the font in the Command Prompt

In the Font section, you can choose between eight font types: Consolas (default), Courier New, Lucida Console, MS Gothic, NSimSun, Raster Fonts, SimSun-ExtB, and SimSun-ExtG. Except for Raster Fonts, all of them come with a bold-text effect, enabled by checking Bold fonts.

Choose a font type for the Command Prompt

Choose a font type for the Command Prompt

The Selected Font box at the bottom displays a preview of your changes in real time. Keep in mind that changing the font size also affects the window’s dimensions, as shown in the Window Preview on the right. To fully control these changes, proceed to the Layout tab next.

Customize the layout, size, and position of the Command Prompt window

Within the Layout tab, you can manage the Command Prompt window’s position and size, as well as how its contents appear. The first section, Screen Buffer Size, has Width (the number of characters that fit on one line) and Height (the total lines the Command Prompt can display and store).

Screen Buffer Size controls the number of characters and lines displayed

Screen Buffer Size controls the number of characters and lines displayed

If “Wrap text output on resize” is checked, you can’t edit Width because the text automatically resizes to fit the window. I recommend leaving this on to keep the Command Prompt text fully visible as you resize. Changing the Command Prompt window size by grabbing corners only applies to the current session. However, the Window Size in the Layout tab is remembered permanently. Since these parameters are measured in character cells, enter your preferred Width and Height, and watch the Window Preview for a live scale model.

Choose the size you prefer for your Command Prompt window

Choose the size you prefer for your Command Prompt window

Use Window Position to control where the Command Prompt appears on your screen. You can specify distances (in pixels) from the Left and Top edges of the monitor but first uncheck “Let System Position Window” or the fields are greyed out. Again, the Window Preview updates live with your choices.

Use the Left and Top fields to change the position of the Command Prompt window on your screen

Use the Left and Top fields to change the position of the Command Prompt window on your screen

Customize the colors used by the Command Prompt

The Command Prompt’s default color scheme can feel dull or clash with modern Windows 10 themes. Fortunately, you can spice it up in the Colors tab. At the top-left of the tab, you’ll see four items to adjust: Screen Text, Screen Background, Popup Text, and Popup Background. While Screen Text changes the text color and Screen Background changes the background, Popup colors are more relevant to developers (e.g., for certain debugging popups).

The assets you can customize from the Colors tab

The assets you can customize from the Colors tab

To change a color, select an item (e.g., Screen Text), and either pick one of the preset colors or enter a custom RGB decimal in the Selected Color Values. If you want a specific color, search online for its RGB code or consult any color table you prefer.

The Command Prompt with a nicer look

The Command Prompt with a nicer look

If the background and text shared the same color, you’d see nothing at all. Thankfully, you get real-time feedback in Selected Screen Colors and Selected Popup Colors to prevent confusion. If you want to learn about Opacity at the bottom of the tab, check our guide on making PowerShell and the Command Prompt transparent.

The Terminal Colors (experimental) section can be found in the Terminal tab, alongside Cursor Colors. Checking Use Separate Foreground changes your text color, and Use Separate Background changes the background color. Again, you can enter RGB values and preview them in real time.

The Terminal Colors section

The Terminal Colors section

Note that, if the Terminal Colors are enabled, the colors you specify here override the ones set in the Colors tab.

Customize the Command Prompt buffers with historical records

A buffer serves as a historical record of the commands you have executed, and you can navigate the commands you previously entered in the Command Prompt with the Up and Down arrow keys. You can change the app’s settings for buffers from the Command History section under the Options tab.

  • Customize how many commands are retained in the command buffer by setting the Buffer Size. While the default value is 50 commands, you can set it as large as 999, but you should keep in mind this takes up RAM. Checking the Discard Old Duplicates option at the bottom of the section allows Windows 10 to remove duplicate command entries from the buffer.
  • The Number of Buffers value controls how many concurrent Command Prompt instances can keep separate histories (default is 4). After this number, histories get recycled.

Customize your buffers from the Command History

Customize your buffers from the Command History

Customize how you work with text in the Command Prompt

Under the Options tab, the Edit Options and Text Selection sections let you refine how text is handled in the Command Prompt. QuickEdit Mode allows selecting and copying text with your mouse or finger. Simply select the text, then right-click, press and hold, or press Enter to copy it.

Edit Options and Text Selection affect both text input and output

Edit Options and Text Selection affect both text input and output

Insert Mode works like the Insert key, toggling between inserting or overwriting characters in the Command Prompt.

Windows 10 also supports keyboard shortcuts in the Command Prompt. To use them, you must first check Enable Ctrl key shortcuts under Edit Options, and Extended text selection keys under Text Selection. You can also check the box next to the “Use Ctrl+Shift+C/V as Copy/Paste” option if you prefer that combo.

Enabling the use of Ctrl+Shift+C/V as Copy/Paste in CMD

Enabling the use of Ctrl+Shift+C/V as Copy/Paste in CMD

Filter clipboard contents on paste removes special characters (like tabs) and converts smart quotes to regular quotes when pasting.

Enable line wrapping selection improves text selection. Older versions only let you copy text in block mode, requiring manual clean-up in text editors. If this option is on, Windows 10 automatically preserves text flow when you paste.

Enable line wrapping selection

Enable line wrapping selection

Keep in mind that, if you check the box next to the “Use legacy console (requires relaunch, affects all consoles)” option at the bottom, you revert to the previous console version, which means that a lot of the options above are greyed out and that the Terminal tab is entirely gone.

If you go to the Terminal tab, there is one more option that affects your use of the Command Prompt, under the Terminal Scrolling section at the bottom. Check the box next to the Disable Scroll-Forward option, and you can now no longer scroll down past the last command input.

Disable Scroll-Forward controls how low you can scroll in the app window

Disable Scroll-Forward controls how low you can scroll in the app window

When you finish adjusting the Command Prompt Properties, click or tap OK. If your changes don’t apply immediately, restarting Command Prompt usually does the trick.

What is the first thing you want to customize in the Command Prompt?

Power users regularly use the Command Prompt for specific tasks, while many casual users never open it. However, the Command Prompt settings I reviewed in this guide can help make it more approachable. So try them out, and see the effect they have on how CMD looks. Before you close this tutorial, let me know which of the options I’ve shown you’ve changed first. Comment below, and let’s discuss!

Command Prompt has been around for a long time, and while it’s a pretty darn useful tool, it’s always been plain and boring with the same black background and white text.

However, this is just the way the program looks by default. You can actually customize many aspects of the experience to make it more personal using different fonts, colors, and window layouts. In addition, if you’re using Windows 10, you can even make the console semi-transparent and use custom color schemes to quickly change the appearance. And you can apply the settings globally, or you can apply them independently for each shortcut that starts a new session or to use more suitable settings for different tasks.

In this Windows 10 guide, we walk you through the steps to personalize the Command Prompt experience to make it a little less boring.

  • How to customize cursor on Command Prompt
  • How to customize font size and family on Command Prompt
  • How to customize layout on Command Prompt
  • How to customize color and transparency of Command Prompt
  • How to change color scheme on Command Prompt

How to customize cursor on Command Prompt

To customize the size of the blinking cursor on Command Prompt, use the following steps:

  1. Open Start.
  2. Search for Command Prompt, and click the top result to open the console.
  3. Right-click the title bar, and select the Defaults option.

  1. Click on the Options tab.
  2. Select one of the available options:
    • Small (default).
    • Medium.
    • Large.
  1. Click the OK button.

While we recommend using the «Defaults» option from the right-click context menu, you can access the Command Prompt settings in at least two different ways, and each way will affect the console appearance differently.

  • Defaults: The changes you customize using this option will not affect the current session, but the new settings will apply when launching Command Prompt using any shortcut.
  • Properties: The changes you make using this option will apply to the current session, and future sessions. However, these settings will only apply to the shortcut whose properties have been customized. (This option usually comes in handy when you’re trying to customize the appropriate settings for different tasks.)

How to customize font size and family on Command Prompt

Using the Command Prompt settings, you can specify the size of the font and the font family to fit your preferences using these steps:

  1. Open Start.
  2. Search for Command Prompt, and click the top result to open the console.
  3. Right-click the title bar, and select the Defaults option.

  1. Click on the Font tab.
  2. Under «Size,» select the size of the font you want to use. (The default option is 14 pixels, but you can go as large as 72 pixels.)
  1. If you don’t like the default «Consolas» font family, you can choose from a number of other families that are suitable to use with Command Prompt under the «Font» section.
  1. Click the OK button.

As you make a selection, at the bottom of the page, you’ll notice a preview of the new configuration.

All the latest news, reviews, and guides for Windows and Xbox diehards.

How to customize layout on Command Prompt

To use a custom layout on Command Prompt, use these steps:

  1. Open Start.
  2. Search for Command Prompt, and click the top result to open the console.
  3. Right-click the title bar, and select the Defaults option.

  1. Click on the Layout tab.
  2. Under the «Screen Buffer Size» section, you can specify how much content you can view and scroll while working with Command Prompt.Quick Tip: If you want to adjust the width parameter, make sure to clear the Wrap text output on resize option.The buffer size uses coordinate grid based for character cells, which means the width is the number of character cells that can fit on each line, and the height is the number of lines. The larger the width and height, the more content you can view, but these settings will not affect the size of the console. (Usually, you don’t want to modify these settings unless you have a reason.)
  1. Under the «Windows Size» section, you can make the window console larger or smaller by changing the width and height parameters, which are based on character cells (not pixels).
  1. If you want Command Prompt to launch in a particular position, clear the Let system position window option.
  2. Specify the new start position (in pixels) using the Left and Top settings.
  1. Click the OK button.

As you make changes, on the right side of the page, you’ll notice a preview of the new configuration.

How to customize color and transparency on Command Prompt

If you want to make the command-line experience a little less boring, you can also change the text and background colors, and on Windows 10, you can make the console window semi-transparent (just like in Linux) using these steps:

  1. Open Start.
  2. Search for Command Prompt, and click the top result to open the console.
  3. Right-click the title bar, and select the Defaults option.

  1. Click on the Colors tab.
  2. To change colors, select an element from the left side, and either select a color from the list or use the RGB settings on the right to specify a specific color.Quick Tip: If you don’t know the exact amount of red, green, and blue that make up the color you want, do a Google search for «RGB color picker» and use the search engine’s built-in tool to get the values.
  1. To make the console window semi-transparent, under the «Opacity» section, drag the slider left or right to set the amount of transparency (to a minimum of 30 percent).
  1. Click the OK button.

Alternatively, you can change the transparency for the current session without opening the settings using the Ctrl + Shift + mouse wheel up to decrease transparency level or Ctrl + Shift + mouse wheel down to increase transparency level.

How to change color scheme on Command Prompt

Starting with the Windows 10 Fall Creators Update (version 1709), it’s possible to customize the appearance of Command Prompt using custom color schemes.

If you want to use this feature, download the Microsoft CoolTool from GitHub, extract the contents of the ColorTool.zip file, and then use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the result, and click Run as administrator.
  3. Type the following command to navigate to the folder that contains the ColorTool executable and press Enter:cd C:\PATH\TO\ColorToolIn the above command, replace cd C:\PATH\TO\ColorTool with the path to the folder where you extracted the «ColorTool» folder.
  4. Type the following command to list the available color schemes and press Enter:colortool -s

  1. Type the following command to change the Command Prompt color scheme and press Enter:colortool -b SCHEME-NAMEIn the above command, replace SCHEME-NAME with the name of the color scheme you want to use. While typing the name, do not include the «.ini» or «.intercolors» extension. The -b switch is optional, and it makes the scheme the system default.

  1. Right-click the title bar, and select the Properties option.
  2. Click the OK button to apply the scheme changes.

Once you complete these steps, restart Command Prompt to start using the console with the new color scheme.

At any time, if you want to revert the original colors, you can use the same instructions, but on step No. 6, make sure to use the either the campbell or cmd-campbell scheme name.

More Windows 10 resources

For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:

  • Windows 10 on Windows Central – All you need to know
  • Windows 10 help, tips, and tricks
  • Windows 10 forums on Windows Central

Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.

Command Prompt is a useful tool, and it has been around for as long as I can remember. You can always continue using it as is, or you can add a little personalization for aesthetic purposes. This tutorial will help you see how you can easily customize command prompt on Windows 10 computers.

The process is pretty straightforward. Just follow these instructions, and you will have a personalized command prompt that doesn’t look like the boring old default black-n-white version.

Customize Command Prompt on Windows 10

You can change command prompt settings in two ways. You can either use the Defaults option or the Properties option. When you use the Defaults option to customize the prompt, the changes will be applied to future command prompt sessions but not the current ones. The changes you made will be applied to all future sessions no matter what shortcut you use to open Command Prompt.

If you use the Properties settings, the changes will be applied to both current and future settings. However, these settings will be applied only to the shortcut whose settings you customized. If you access the prompt using a different shortcut than before, the settings will not have changed there.

In this tutorial, I will show you how to customize settings using the Defaults option. You can customize it using the Properties option, as well. The steps are all the same; instead of clicking on Defaults, you would just need to click on Properties.

Customize Command Prompt Cursor

Step-1: Go to the Start Menu and type cmd. Click Open.

Start Menu

Step-2: Once the prompt opens, right-click on the title bar and click on Defaults. [You can click on Properties here if you wish to change settings for only one shortcut]

Defaults

Step-3: Under the Options tab, you can change the cursor size depending on what you want. After you select your option, click OK.

Custom Font Size in Command Prompt

  1. Go to the Start Menu and type cmd. Click Open.
  2. Right-click on the title bar and select Defaults.
  3. Click on the Fonts tab.
  4. Change the size if you don’t like the default font size under the Size section. Under Font, you can also change the font and bold it by checking the Bold fonts box. After you are done, click OK.

Custom Layout

  1. Go to the Start Menu, type cmd, and click Open.
  2. Right-click the title bar and click on Defaults.
  3. Select the Layout tab. 
  4. With the Screen Buffer Size option, you will change how much content you can view and scroll in the Command Prompt. To ensure that you can change the width, uncheck the Wrap text output on resize box.
  5. With the Window Size option, you can change the width and height of the command prompt window.
  6. Under the Window Position section, you can change the position the command prompt opens in. To modify this, uncheck the Let system position window box.
  7. After you are happy with the changes, click OK.

Custom Color and Transparency

  1. Go to the Start menu, type cmd, and click Open.
  2. Right-click on the title bar and select Defaults.
  3. Select the Colors tab.
  4. You can individually change the colors for the items on the left side of the menu. You can select the colors from the color panel provided or adjust the colors using the RGB values on the right.
  5. To figure out what the exact values should be to get the color of your choice, google RGB color picker and use the slider provided to get the RGB values.
    RGB color picker

  6. You can also make the console window semi-transparent. In the Opacity section, use the slider to adjust the transparency.
  7. Once you are satisfied with the changes, click OK.

Now close your current command prompt and open it again to see all your personalized command prompt. Doesn’t it look super different?

The times they are a changing! Pound for pound, the Command Prompt is one of the most important features of the Windows operating system. And, until now, one of the most neglected.

Luckily, the feature has been receiving some love from Microsoft lately. The company has been focused on bringing a number of UI and usability improvements to Command Prompt and move it away from plain and boring to something that is modern and colorful.

To fix various Windows 10/11 problems, we recommend Outbyte PC Repair:
This software will repair common computer errors, protect you from file loss, malware damage, hardware failure, and optimise your computer for peak performance. In three simple steps, you can resolve PC issues and remove virus damage:

  1. Download Outbyte PC Repair Software
  2. Click Start Scan to detect Windows 10/11 issues that may be causing PC issues.
  3. Click Repair All to fix issues with your computer’s security and performance.
    This month, Outbyte has been downloaded by 23,167 readers.

We’ll take a look at the various customization options now available for you to personalize the Command Prompt experience in Windows 10.

Evolving appearance of Command Prompt

Also known as cmd or cmd.exe, this is the command line interpreter in the OS, not dissimilar to the shell used in Unix based operating systems. The initial version of the Command Prompt was developed for Windows NT. But over the decades, this feature has only seen minor improvements.

This is surprising, as alongside PowerShell and Windows Subsystem for Linux, this is one of the three terminal windows available in Windows 10. And widely used by power users and system administrators.

Up until now, it has mostly sported the same black background and white text, which has been its default look since ye olden age. Even with the main Windows user interface going through multiple evolution over the years, the Command Prompt stuck with its inspired MS-DOS Prompt look — that white text on black background style of the 80s and 90s.

But Microsoft has finally added a few options to customize different aspects of the experience.

Personalizing the Command Prompt

It is now possible to make the experience more personal by using different fonts, colors, and window layouts. Windows 10 even allows you to make the console semi-transparent. Custom color schemes to quickly change the appearance, or different looks for shortcuts means that you can start a new session with a different style that is suitable for the task you opened it for.

You can also apply the settings globally, if you want.

Command Prompt Defaults Properties

Command Prompt now has two distinct ways to customize its appearance, with each one affecting the console experience differently. These are available from the right-click context menu, and go as Defaults and Properties.

  • Defaults: Any changes you make will not affect the current session, but Windows 10 will apply these new settings when launching Command Prompt using any shortcut.
  • Properties: Customization made here will apply to both the current and future sessions. But only to the shortcut whose properties have been customized. This option comes in handy when you want to have different styles for different tasks.

Customize Font size and Family on Command Prompt

Let’s start with the what will probably be the first customization most of you will make. And one that will probably have the biggest impact on your Command Prompt usage experience. That of changing the font size and family used in the console.

  1. Open Start.
  2. Search for Command Prompt, and click the top result to open it.
    Command Prompt Defaults

  3. Right-click the title bar and select the Defaults option from the popup menu.
  4. Click on the Font
  5. Under the Size section, select the size of the font that you want to use. The default choice is 16, but you can go as large as 72 pixels.
  6. As for the font itself, the appropriately titled Consolas font family is used by default. A handful other families that are suitable for use in Command Prompt are available, and you can make your choice from the selection offered.
  7. Click the OK

A nice little preview of the new configuration is available at the bottom, and any changes you make are reflected there to show how the console will look with the customization applied.

Customize the Layout in Command Prompt

It is also possible to revise the layout in Command Prompt to alter how much content is displayed. You have options to modify the screen buffer size, the window size, and window position. Follow the steps below to change these options.

  1. Open Start.
  2. Search for and open Command Prompt.
    Command Prompt Defaults

  3. Right-click the title bar and select Defaults.
  4. Go to the Layout tab
  5. The Screen Buffer Size section lets you specify how much content you can view and scroll while working in Command Prompt. The buffer size is based on grids, meaning the width is the number of character cells that can fit on each line, while height is the number of lines. These settings will not affect the size of the console, they only define the amount of content that you can view, depending on how large the width and size is.
  6. Clear the Wrap text output on resize option to adjust the width parameter.
  7. The Windows Size section lets you make the windows console larger or smaller. This is done by changing the width and height parameters that are, again, based on character cells, not pixels.
  8. And finally, you also have the power to launch Command Prompt in a particular position on your screen. In the Window Position section, clear the Let system position window option first, and then specify the new start position in the Left and Top These are specified in pixels.
  9. Click OK when you are done.

While you can usually modify most settings here without any issues, take care to only modify the screen buffer size if you have a reason.

Customize the Command Prompt Color

Time for some bursts of color. Want to make the commend line experience in Windows 10 a little less boring? You can change the text and background colors, as Microsoft has made a selection of customization available here.

  1. Click on Start.
  2. Open the Command Prompt console.
    Command Prompt Defaults

  3. Right-click the title bar, and select Defaults.
  4. Head on over to the Colors tab.
  5. You can change colors here by selecting elements from the left side and then choosing a color from the list. The window also provides RGB settings on the right that you can use to specify a specific color.
  6. Download any of the free color picking applications from the web to make up the color you want. Or simply search for “RGB color picker” on Google to get the values from the search engine’s built-in tool.
  7. Enter your chosen values, or make your choice from the colors available, and click OK.

Command Prompt will now change its colors to your chosen ones for the four option that were listed, namely Screen Text, Screen Background, Popup Text and Popup Background.

Make the Command Prompt Transparent

How about a semi-transparent console window, just like Linux? Microsoft provides an option to bring the transparency down to a minimum of 30%. There are two ways go about this, one a dedicated setting in the panel, and another via use of the mouse wheel.

  1. Go to Start.
  2. Open Command Prompt.
    Command Prompt Defaults

  3. Right-click on the title bar of the window, and choose Defaults.
  4. Click on Colors to go to that tab.
  5. You will find the Opacity section near the bottom.
  6. Drag the slider left or right to set the amount of transparency, and click OK.
    Transparent Command Prompt Window

  7. Alternatively, you can also change the transparency for the current session without modifying the settings. The Ctrl + Shift + mouse wheel up and Ctrl + Shift + mouse wheel down combinations decreases and increases the transparency level, respectively.

Making the Command Prompt translucent was one of the most demanded of features. It definitely comes handy in certain uses cases when you have multiple console windows open, and would rather have them stacked on top of one another with a transparent look.

Modify Cursor in Command Prompt

You can also change the size of the blinking curse on Command Prompt. Three options are provided here, and you can go with whatever looks best. Not much variety here, obviously, but this is merely a cosmetic change.

  1. Open Start.
  2. Search for Command Prompt, then open the console.
    Command Prompt Defaults

  3. Right-click title bar, select the Defaults option from the popup menu.
  4. Click on the Options tab.
  5. Select one of the available options for Cursor Size. Small is default, but you can also change your cursor size to medium and large by clicking on then respective radio button.
  6. Hit OK to get it done.

This one is pretty straightforward. You can change the size of the pointer to whatever you are comfortable with. The ability to change the cursor altogether into something else would also be welcome here.

Change the Command Prompt color Scheme

It is also possible to customize the appearance of Command Prompt by using custom color schemes. This option became available with the Windows 10 Fall Creators Update (version 1709), though you will need to download a tool to use this feature.

Download the Microsoft ColorTool from GitHub, extract the contents of the ColorTool.zip file, and follow the steps below.

  1. Open Start.
  2. Search for Command Prompt, right-click the result, and click Run as administrator.
    Windows 10 Colortool

  3. Navigate to the folder that contains the ColorTool executable and press Enter. You can do this by typing the cd C:\ColorTool command, replacing it with the path to where the folder you extracted the tool.
  4. Now, type the colortool -s command and press the Enter key to list the available color schemes.
    color schemes for Command Prompt

  5. To change the Command Prompt color scheme, type colortool -b along with the name of the scheme that you want to use and press Enter. For example, you might want to opt for the OneHalfDark scheme, in which case you will type colortool -b OneHalfDark. When typing, be sure not to include the “.ini” or “itermcolors” extensions. The -b switch is optional, as it makes your chosen scheme the system default.
    Command Prompt Defaults Properties

  6. That done, right-click the title bar and select the Properties option.
  7. Click the OK button to apply the scheme changes.

Restart Command Prompt to start using the console with the new color scheme. You can revert to the original colors by using either the campbell or cmd-campbell scheme name in step 5.

Conclusion

Customizing the appearance of the Command Prompt is finally a reality. Microsoft provides several options to accomplish that, and you can also download the tool listed above to completely alter the color scheme of the console to your liking.

No reason at all to be stuck with the same black and white style if you regularly use Command Prompt in Windows 10.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Код ошибки 0x800106ba windows 7 как исправить
  • Disciples 2 gold edition тормозит на windows 10
  • Образ установочного диска windows 10 в формате iso
  • Как открыть nrg файл на windows 10
  • Средства обеспечения информационной безопасности в ос windows 2000