I found out that cmd.exe can support no more than 9999 lines and this property can be changed on right click, layout.
An application that I use opens the cmd.exe and shows an output. This output is long about 100.000 lines. So I can see almost nothing.
Is there a way to increase the amount of lines that cmd.exe can support? Or maybe use another cmd?