title: How to change Screen buffer size in Windows Command Prompt from batch script
body: <p>I know you can do right click properties ->layout and there change it manually.</p>
  
  <p>But how would you go about changing it from a Windows batch script?</p>
  
  <p>I know you can change size of it from script using something like this</p>
  
  <p><code>MODE CON: COLS=90 LINES=10</code></p>
  
  <p>But how can you change buffer size?</p>
  
  <p>The script will run for a while and sometimes before failing and exiting it takes some time, so I need larger buffer.</p>