How can I change the width of a Windows console window?

前端 未结 11 2224
一向
一向 2020-12-05 07:06

Is it possible to programmatically, or otherwise, increase the width of the Windows console window? Or do I need to create a wrapper program that looks and acts like the con

11条回答
  •  庸人自扰
    2020-12-05 07:27

    Simply run "mode cols,lines" to change the size of the current console window:

    mode 120,60

    will resize the console window to 120 columns and 60 lines

提交回复
热议问题