2021-02-08

How to Resize Batch Files and Command Prompt

While in Windows 10 you can resize command prompt windows however you want, on Windows 7 your options are much more limited, only allowing you to increase the width of the window to less than half the screen. Even though you can't resize it by dragging, you can still use commands to resize the command prompt window, or if you are making batch files and want to resize the window, you can use this simple command:

mode con cols=<width> lines=<height>

Simply replace the text between the '<' and '>' symbols with the width and height (in character width) you want respectively. You will also need to remove the '<' and '>' symbols, otherwise the code will not work. If you only want to change either the width or height of the window, you can use just the cols or lines part of the code after mode con, to just change that.

No comments:

Post a Comment

Give Some Support By Subscribing on YouTube

Every First Episode in the Winter 2023 Cour

Now that the Winter 2023 cour has come to an end, what better time to discuss the anime that aired this season. This season I have watched e...