Технологія блог

Windows 10 Tip: How To Make Command Prompt Console Transparent


The Command Prompt console we know in previous Windows doesn’t support transparency. And technically, it still doesn’t support in Windows 10 because it still uses the same original graphics and rendering models (the original GDI) implemented in the console a long time ago. Але, Windows 10 found a workaround that makes the entire window transparency, a nice compromise but works quite nicely.

Відкриті Командний рядок, right-click the top board and choose Властивості.

Командний рядок - context menu to Properties

Make sure the option “Use legacy console” at the bottom of the dialog window unchecked, which unlocks a bunch of new features that are only available in Windows 10, including the transparency.

Windows 10 - Command Prompt Properties legacy unchecked

Once that’s settled, you can adjust the transparency level via the Colors tab in the Command Prompt properties dialog or adjust on the fly using the following keyboard shortcuts.

Transparency CombinationsDescription
CTRL + SHIFT + Plus (+)Increase transparency.
CTRL + SHIFT + Minus (-)Decrease transparency.
CTRL + SHIFT + (Mouse) SCROLL UPIncrease transparency.
CTRL + SHIFT + (Mouse) SCROLL DOWNDecrease transparency.

Windows 10 - Transparent Command Prompt

Зверніть увагу, що to prevent “where did my console go” puzzling people, there is a minimum opacity level of a window set to 30% у Кольори tab in Command Prompt properties dialog.

Windows 10 - Command Prompt Properties - colors tab

This also applies to PowerShell console window as well, hold down Ctrl + Shift key and then move your mouse wheel to adjust the background color transparency.