Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Windows Command Line window has a fixed size. You can change it, but not on-the-fly, with a mouse.

But maybe it's just me or my system (Windows 7).

Can you dynamically resize Windows Command Line window?

share|improve this question

This is done via the Properties > Layout tab of the window or the shortcut.

enter image description here

Detailed instructions - How to Make the Windows Command Prompt Wider

share|improve this answer
this i know, this is not dynamic. I'd like it to behave like a terminal on linux – Parobay Apr 17 '13 at 13:25
If you set it to a large size, can't you re-size it smaller as you wish? – CharlieRB Apr 17 '13 at 14:14

You can change the screen buffer size in the Layout tab of the Preferences dialog (click on the icon in the top left corner of the window to get to the menu). Making the screen buffer bigger will allow you to then change the window size.

If you do this though, the text will extend past the window and you will have to scroll to see it. There is no way to dynamically change the screen buffer size like you want AFAIK.

share|improve this answer

In windows 7 use the mode command.

mode con:cols=80 lines=40
share|improve this answer
Works even with Windows 10 PowerShell. – Harry Jul 10 '15 at 21:48
up vote 2 down vote accepted

As other users have pointed out: it is impossible with standard cmd. You can only adjust the window size via parameters.

I found an extension to cmd called Console.

You just install/extract it and make it visible in the PATH. Console enables you to resize the window, set transparency, use tabs etc. etc. Very useful!

edit: a new project called cmder has emerged recently:

It looks VERY promissing!!

share|improve this answer
The above statement isn't completely true. You can resize with the mouse. But dragging from the corners, not the top and bottom. Although, width appears to be limited to the configured width property as a maximum. – John Rocha Jul 10 '15 at 20:33

You can also increase the command prompt window size through command lines

ex:mode 250

In the place of 250 add any value of your wish.

share|improve this answer
Can you confirm this works. I have just tested it with no result. – Matthew Williams Mar 17 '14 at 11:07

Windows 10 command prompt has that now. The buffer size automatically grows and shrinks when you use the resize arrows.


share|improve this answer

via :

A simple command to fix the window size that I use all the time:


It will open the Windows Management Instrumentation Command-line and remove the size limits. Then just close it with Ctrl+C.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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