27

How can I widen the Windows 7 command prompt window?

It's fixed at 80 columns in width and dragging the window edges won't let me make it any bigger than that.

1
  • Thanks for asking... apparently this is a common problem. Any idea why MS decided to make this obscure behavior the default?
    – Fixee
    Jul 16, 2015 at 19:28

4 Answers 4

30

Yes. To change the screen buffer or window size:

  • Click the icon at the left of the title bar.

  • Click Properties (or Defaults for persistent properties) Thanks @Scott

    Properties

  • Go to the Layout tab

  • Change the settings accordingly

    Layout

  • Click OK to save.

3
  • 4
    You can also click Defaults instead of Properties to make the changes stay when you close and re-open the command prompt. (you beat me to the answer, I was going to include pictures :) ) Mar 16, 2012 at 21:16
  • A good solution to a problem that shouldn't even exist. Thanks to all.
    – user81430
    Mar 19, 2012 at 17:45
  • 1
    > You can also click Defaults instead of Properties to make the changes stay when you close and re-open the command prompt. Actually, in Windows 7, the Properties and Default options are the same. :-(
    – Synetech
    Mar 19, 2012 at 18:41
13

You might want to try typing:

mode 120,100

Should widen it significantly.

2
  • Awesome! I hope the setting is persistent, but this does what I wanted.
    – user81430
    Mar 16, 2012 at 21:18
  • Btw, I entered "help mode" on the command line to learn about the 'mode' command. The Help is rather cryptic but apparently the first number is the number of columns and the second is the number of lines.
    – user81430
    Mar 16, 2012 at 21:19
10

Type this on command line:

mode con:cols=140 lines=70

Where 140 is the width in columns and 70 is the height in lines.

0
1

You can try Console2 on top of cmd.exe, which have (except other things) resizeable window

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .