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.

  • Thanks for asking... apparently this is a common problem. Any idea why MS decided to make this obscure behavior the default? – Fixee Jul 16 '15 at 19:28
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.

| improve this answer | |
  • 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 :) ) – Scott Chamberlain Mar 16 '12 at 21:16
  • A good solution to a problem that shouldn't even exist. Thanks to all. – user81430 Mar 19 '12 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 '12 at 18:41
14

You might want to try typing:

mode 120,100

Should widen it significantly.

| improve this answer | |
  • Awesome! I hope the setting is persistent, but this does what I wanted. – user81430 Mar 16 '12 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 '12 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.

| improve this answer | |
1

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.