In the Windows Command Prompt, why is there a large amount of empty space below the prompt?
The "large amount of empty space" is the rows of the screen buffer that have not yet been filled with output.
To change the screen buffer from the default of 300 lines, perform the following steps:
- Open command prompt.
- Right click the application icon (in the upper left corner)
- Click on Properties
- Select the Layout tab
- Set the Screen Buffer Size, Height to 20.
- Click OK
Note: I recommend reverting the buffer size as 20 lines isn't many lines of displayed output.
I know this is not the why, that has been covered by @steven. If you want to change the screen buffer from within a command prompt or batch file you can make use of the mode
command (mode columns, lines). I regularly use this from within the command prompt:
mode 200, 300