Scenario
I want to resize the command prompt window in a batch file, is it possible to set a height and width through something I can just add in the batch file?
Solution
mode con:cols=[whatever you want] lines=[whatever you want]
The unit is the number of characters that fit in the command prompt, for example:
mode con:cols=80 lines=100
...will make the command prompt 80 ASCII chars of width and 100 of height.
SOURCE | LINK | LANGUAGE | ENGLISH |
Resize command prompt (cmd.exe) window through command “mode” (Microsoft Windows) – http://heelpbook.altervista.org/?p=35523 – HeelpBook – 16/01/2013 – 16:50 #HeelpBook @HeelpBook