How to change Screen buffer size in Windows Command Prompt from batch script

后端 未结 14 1516
清歌不尽
清歌不尽 2020-12-02 09:59

I know you can do right click properties ->layout and there change it manually.

But how would you go about changing it from a Windows batch script?

I know yo

14条回答
  •  一整个雨季
    2020-12-02 10:27

    As a workaround, you may use...

    Windows Powershell ISE

    As the Powershell script editor does not seems to have a buffer limitation in its read-eval-print-loop part (the "blue" part). And with Powershell you may execute DOS commands as well.

    PS. I understand this answer is a bit aside the original question, however I believe it is good to mention as it is a good workaround.

提交回复
热议问题