If you’re a power user, by any definition of the word, then you probably have used the command prompt in Windows before. It’s also very likely that you’ve been frustrated by the inability to resize the window to anything wider than 24 characters. I’ve been using the windows command prompt for years and always just pegged it on Microsoft being ‘teh suck’, and assumed there wasn’t any other way to go about it. Today I discovered it doesn’t have to be this way.
Microsoft definitely should have made it easier to resize your command prompt window in both directions and I can imagine no reason why they wouldn’t have, but at least you can hardly blame yourself for not figuring it out on your own. The secret lies in the hidden preferences panel for the command prompt. Right click on the title bar and you can choose ‘Properties’ to temporarily change the display options on the command prompt you have open or ‘Defaults’ to change the options that all command prompt windows will start with.
Switch over to the ‘Layout’ tab and increase the width in the ‘Window Size’ section. Unless you have a particularly large monitor you probably won’t be able to fit more than 150-200 characters on your screen. (This will be especially so if you’re like me and change the font to size 14 Lucida Console for nice big readability.) I also like to change the buffer height to something closer to 3000 so I can scroll back up farther. Click OK and all the command prompt windows you open from now on will be nice and wide!




by Zachary Lewis
31 Jul 2008 at 19:48
Wow… you discovered properties. You must be some kinda’ programmer to be able to hack the system like that.
by psoplayer
31 Jul 2008 at 20:22
Didn’t you know? I’m a programming genius!
by Sarah
31 Jul 2008 at 22:47
In fairness, I might have fiddled around with Properties in vain before discovering that Defaults were in a completely different menu. Way to go, Microsoft.
by bestonia
06 Jul 2009 at 10:03
fantastic stuff.. am loving this little tweak, all these years i knew there must have been a solution to the stupidly small cmd window but couldnt be bothered to find it..
thanks