I am trying to set the size of the Console Window in a c# console application. I get an ArgumentOutOfRangeException with this message:
ArgumentOutOfRangeException
Th
Microsoft recently published some information around this, see:
Try this in powershell:
$windowSize = $(get-item hkcu:\console).GetValue("WindowSize") $windowHeight = $windowSize -shr 16 $windowWidth = ($windowSize -shl 16) -shr 16