How to remove word wrap in command window 11

DM Egle 20 Reputation points
2024-11-01T14:57:37.89+00:00

As command window comes in windows 11 the text lines are wrapped to fit in the window. Is there a way to cause the text to not wrap?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Wesley Li 11,255 Reputation points
    2024-11-02T04:33:05.67+00:00

    Hello

    Yes, you can disable text wrapping in the command window on Windows 11. Here are the steps to do so:

    1. Open the command window by pressing the Windows key + R, typing "cmd" in the Run dialog box, and pressing Enter.
    2. Right-click on the title bar of the command window and select "Properties" from the context menu.
    3. In the Properties window, click on the "Options" tab.
    4. Under "Edit Options," uncheck the box next to "Enable line wrapping selection".

    This should prevent the text from wrapping and allow you to scroll horizontally to see the content of lines that are longer than the window width.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Wesley Li 11,255 Reputation points
    2024-11-02T04:32:44.0566667+00:00

    Hello

    Yes, you can disable text wrapping in the command window on Windows 11. Here are the steps to do so:

    1. Open the command window by pressing the Windows key + R, typing "cmd" in the Run dialog box, and pressing Enter.
    2. Right-click on the title bar of the command window and select "Properties" from the context menu.
    3. In the Properties window, click on the "Options" tab.
    4. Under "Edit Options," uncheck the box next to "Enable line wrapping selection".

    This should prevent the text from wrapping and allow you to scroll horizontally to see the content of lines that are longer than the window width.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.