Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is the Windows cmd.exe limited to 80 characters wide?

Tags:

cmd

I love stretching my terminal on unix. What is the history or reason behind windows lame command line?

like image 447
minty Avatar asked Nov 25 '08 23:11

minty


People also ask

How many characters wide is cmd?

The maximum length of the string that you can use at the command prompt is 8191 characters. This limitation applies to: the command line. individual environment variables that are inherited by other processes, such as the PATH variable.

How do I make my cmd window bigger?

Change Command Prompt WidthRight-click on the prompt boarder and select Properties… Now select the Layout tab and change the Window Size width, by default it is 80. Here you can change the Screen Buffer Size Width and Window Position. When you're finished click OK.

What font does cmd.exe use?

Every application in Windows 10 has a default font style. The default font style of Command Prompt is Consolas.

How many lines can cmd show?

The Windows command-line only shows a history of 300 lines by default - this can be a nuisance especially if you are working with long list outputs. However, you can easily increase the number of lines that are shown.


2 Answers

It isn't. You can right click the title bar, select properties, and in the "Layout" tab alter the screen buffer size (line width and scrollback) and the window size (viewport size). If you started cmd from a shortcut, you can save these settings for future sessions.

like image 103
erickson Avatar answered Oct 01 '22 04:10

erickson


If you are mouse-phobic you can also just type this inside the cmd window:

mode <cols>,<lines>
mode 80,25
mode 120,50
etc.
like image 22
jmucchiello Avatar answered Oct 01 '22 04:10

jmucchiello