Home » Tech Tips

Resizing Windows Command Line

20 June 2008 368 views No Comment

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.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.