Command Prompt's New Tricks

Written by Eric Wyatt (last updated July 19, 2021)

Command Prompt or Cmd.exe has been around for some time, available within different versions of Windows. With Windows 10 however, the Command Prompt has received some updated new features that are helpful and can change the way you use it.

To start using these new features you will need to launch Command Prompt. The fastest way to open Command Prompt is to press the Windows key, type command, and then press Enter. It is important to note that on some computers you might need to enable the new features. You can do this once you have a Command Prompt window open by following these simple steps:

  1. Click on the title bar icon, or right-click any open area of the title bar. Windows displays a Context menu.
  2. Click on Properties. Windows opens the Properties dialog box. (See Figure 1.)
  3. Figure 1. The Command Prompt Properties dialog box

  4. At the bottom of the dialog box make sure that Use Legacy Console is not selected. If you change this you will need to relaunch Command Prompt.

With the legacy console turned off, you are ready to explore the new features available for the Command Prompt window. The following sections highlight these new features.

Resize

In the past the Command Prompt window was set at a maximum width of 80 characters. Now, thanks to Windows 10, you can resize the window to the size that is best for you. You can also maximize the window by pressing the maximize button in the title bar. Along with resizing you can use the Windows 10 snap feature and Win key plus any arrow key to cycle through the various window positions.

Text Wrapping

With the ability to resize the window to a size of your choosing, Command Prompt will automatically reflow the text to fit the window sizing you have set.

Quick Edit

Previously Quick Edit mode (the ability to select text using your mouse in the Command Prompt window) was disabled by default. In Windows 10 Quick Edit is enabled by default.

If Quick Edit Mode is not enabled on your computer you can enable the option by following the steps 1 and 2 earlier to access the properties dialog box. Under Edit Options, be sure that the Quick Edit Mode check box is selected.

Ctrl Key Shortcuts

Windows 10 Command Prompt now allows for the use of Ctrl key shortcuts. This allows you to use copy (Ctrl+C) and paste (Ctrl+V) when you need to use it. Within the Command Prompt window, Ctrl+C will only copy text if text is selected. If no text is selected then Command Prompt interprets Ctrl+C in the traditional manner, as the Break command.

Again, if you launch Command Prompt and find Ctrl keys are not working then Ctrl Key Shortcuts might not be enabled on your computer. You can enable the option by following the steps 1 and 2 earlier to access the properties dialog box. Under Edit Options, be sure that the Enable Ctrl Key Shortcuts check box is selected. Keep in mind that you will not be able to enable this feature if Use Legacy Console is selected.

Filter Clipboard

With the ability to copy and paste into the Command Prompt window there is the potential to paste in unsupported characters. Command Prompt now filters the items you paste from the Clipboard. This means that many unsupported characters will either be stripped out or converted as they are pasted. An example is if you try to paste smart or curly quotes (commonly referred to as typographer's quotes)—they will automatically be converted to straight quotes.

Filter Clipboard Contents on Paste should be enabled by default, if you find that it is not you can turn the feature on. Following steps 1 and 2 from earlier to access the Command Prompt properties dialog box. Make sure that Filter Clipboard Contents on Paste is selected.

Line Wrapping Selection

Command Prompt now allows for the ability to select multiple lines of text and when you copy it to the Clipboard (Ctrl+C) and paste (Ctrl+V) the text in another program the line wrapping will carry with whatever you are pasting.

As with other new features, Enable Line Wrapping Selection should be enabled by default. If you find that it is not you can easily turn the feature on. Following steps 1 and 2 from earlier to access the Command Prompt properties dialog box. Make sure that Enable Line Wrapping Selection is selected.

Extend Text Select

You can now use keyboard shortcuts to help in selecting text within Command Prompt. This feature allows a number of keyboard shortcuts you can use to help in selecting text with in Command Prompt. Some of the most common keyboard shortcuts are:

Keyboard Shortcut Result
Shift+Right Arrow Expands or contracts the text selection by one character to the right
Shift+Left Arrow Expands or contracts the text selection by one character to the left
Ctrl+Shift+Right Arrow Expands or contracts the text selection by one word to the right
Ctrl+Shift+Left Arrow Expands or contracts the text selection by one word to the left
Shift+Up Arrow Expands or contracts the text selection by one line up
Shift+Down Arrow  Expands or contracts the text selection by one line down
Ctrl+A Selects all the text

Semi-Transparent Window

Another feature added into Command Prompt is the ability to modify the transparency of the Command Prompt window. You can adjust the transparency from none to a minimum of 30%. Command Prompt offers two ways to do this, either from the Colors tab of the properties dialog box or with keyboard shortcuts. To change the transparency, you can use the following shortcuts:

Shortcut Result
Ctrl+Shift+Plus (+) or Ctrl+Shift+Mouse scroll wheel up Increases the transparency
Ctrl+Shift+Minus (-) or Ctrl+Shift+Mouse scroll wheel down Decreases the transparency

With these new features, Windows has made using the Command Prompt window more seamless and productive than it has ever been.

 This tip (13551) applies to Windows 10.

Author Bio

Eric Wyatt

Eric Wyatt is a swell guy (or so his friends tell him). He is a formally trained designer and branding expert, bringing a wide range of skills to his Tips.Net articles. ...

MORE FROM ERIC

Forecast the Weather

Getting a handle on the weather is something that man has been dreaming of since the dawn of time. While you might not be ...

Discover More

Change your Computer's Name with PowerShell

Your computer has a name that is separate from your account name. You can use PowerShell to change the name of your computer.

Discover More

Using Command Prompt (CMD) to Change Your Computer Name

Computers have names that are used to identify them. Using Command Prompt (CMD) you can change your computer's name.

Discover More
More WindowsTips

Quickly Finding Your IP Address

IP addresses identify your device on IP-governed networks. If you need to find your IP address quickly, you can use the ...

Discover More

Completely Delete Files with Cipher

When you delete a file in Windows, the operating system only removes the file from view. The deleted content can still be ...

Discover More

Counting Files and Subfolders Using the Command Prompt

There are times when you might need to know how many files or subfolders are in a folder. Using the command prompt, you ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 + 5?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips