Hi there, I'm new to this site. I wish to know if someone knows how to change the DOS prompt screen size in C#, as it can be done by right-clicking the Command Prompt window handle > Properties> Layout. I want to at least initially set the screen/buffer size to 80x26... thanks!

Recommended Answers

All 2 Replies

Are you trying to adjust the size of a console program's window? You can use the Console object and set all the properties

Ouch, I was dumb enough to not look into MS Documentation... thanks a lot!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.