Resizing Windows Command Line
Have you been annoyed when opening a CMD window (DOS Window) it comes up just over half the screen width and you can’t expand it any wider. If ever you click the full screen icon the window fills the screen from top to bottom, but not side to side. i know what you feel, I’ve been there too. I usually use the command prompt for running my PHP scripts.
I know some you guys already got some solutions in mind. What I have here are some very easy options in resizing your CMD window (DOS Window).
Option 1:
By using the windows mode command, you can change the CMD Window settings of you choice. To change the size of the command prompt screen buffer:
Syntax
mode con[:] [cols=c] [lines=n]
Parameters
con [ : ] : Required. Indicates that the change is to the command prompt window.
cols= c : Specifies the number of characters (columns) wide in the command prompt screen buffer.
lines= n : Specifies the number of lines deep in the command prompt screen buffer.
/? : Displays help at the command prompt.
But these settings are only until the CMD Window is still running. Restarting or opening another CMD Window will give you back the default size of the command prompt.
Option 2:
I would recommend this one.
In your CMD Window, right-click on the title bar (or header bar) and choose “Properties”. Select the Layout Tab, and then adjust the “Window Size” (Width and Height) options. When you click OK it will prompt if you want to “Apply properties to current window only” or “Modify shortcut that started this window”, If you choose the latter it will save these settings as default size of your CMD Window.























Leave your response!