information   Information
A command prompt is an entry point for typing computer commands in the Command Prompt window. By typing commands at the command prompt, you can perform tasks on your computer without using the Windows graphical interface.

When you resize a command prompt window in Windows, the text in the command prompt will wrap to fit the width by default.

This tutorial will show you how to turn on or off automatically wrap text when resizing a command prompt for your account in Windows 7, Windows 8, and Windows 10.
Note   Note
If you turn on or off automatically wrapping text when resizing a command prompt, it will only be applied to the specific command prompt shortcut that opened it.

For example, command prompt opened via Win+X menu VS Run (Win+R) dialog. Each location would have its own settings.

If you set to use legacy console, then the Wrap text output on resize feature and setting will be disabled and grayed out.

EXAMPLE: Wrap text output on resize of command prompt turned On and Off
Name:  command_prompt_wrap_text-default.png
Views: 2642
Size:  6.1 KB
Name:  command_prompt_wrap_text-on.png
Views: 2640
Size:  5.5 KB Name:  command_prompt_wrap_text-off.png
Views: 2637
Size:  5.4 KB

Here's How:

1. Open a command prompt or elevated command prompt using the shortcut or location you want to turn on or off wrapping text for.
Note   Note
You could also just directly right click on the command prompt shortcut or file, click/tap on Properties, and go to step 3 below.

2. Right click or press and hold on the title bar of the command prompt, and click/tap on Properties. (see screenshot below)

Name:  command_prompt_wrap_text-1.png
Views: 2669
Size:  20.3 KB

3. Click/tap on the Layout tab, check (on - default) or uncheck (off) the Wrap text output on resize box under Screen Buffer Size for what you want, and click/tap on OK to apply. (see screenshot below)

Name:  command_prompt_wrap_text-2.png
Views: 2722
Size:  26.8 KB

4. When finshed, you can close the command prompt if you like.

That's it,