While testing a console app, I set the properties of the console window to be only 3 lines high.
This change has somehow stuck, meaning that new console windows default to 3 lines high. If I create a new shortcut on the desktop, and point it to cmd.exe, the window that opens is 3 lines high.
Of course, I can alter this value using the properties panel, which ultimately results in "current window only"/"future windows with same title"/"shortcut that started this window" dialog to alter the stickiness of the setting. None of these choices results in the default being changed. If, subsequently, I make a new shortcut to cmd.exe, it's still 3 lines high.
The principal problem is that for any new console app that I write, the first time I debug it, I must change the size setting, and when I run the release build, it's the same story.
Does anyone know where the default settings for new (i.e. new title or from new shortcut) console app are stored/how to change them?
[and, yes, I feel like a muppet for asking, but I can't find this info anywhere!]
Default window size should be 80x25. Default buffer size is 80x300. Save this answer.
The size of a screen buffer is expressed in terms of a coordinate grid based on character cells. The width is the number of character cells in each row, and the height is the number of rows.
More information. The maximum length of the string that you can use at the command prompt is 8191 characters.
Quick tip: You can also use the Ctrl + Shift , (comma) keyboard shortcut to open the settings page. Click on Startup. Under the “Launch size” section, use the Columns option to adjust the width of the Windows Terminal. Under the “Launch size” section, use the Rows option to adjust the height of the Windows Terminal.
Instead of using the Properties menu item - Use the defaults menu item.
They're stored in the Registry:
HKEY_CURRENT_USER\Console
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With