old utility resurrected

The very first article I every got published in a programming magazine — the venerable but long-dead Windows Developer Journal — was about writing an NT console utility to modify the screen buffer size. This was probably around 1993 or so.

My code and article have been lost in the mists of time, however I recently realized that I still could use such a utility. So I rewrote it. Still in C, so it’s pretty speedy. And because I’ve written hundreds of thousands of lines of Win32 code since the original, I knocked this version out in about an hour and a half.

I’m calling it from a .cmd script which starts new instances of cmd.exe which, mysteriously, do not pick up my registry setting for screen buffer size. I reached the point of diminishing returns troubleshooting this script, so just recoded the darn utility and now I am back in control.

If anyone cares, you can download the .exe from the Bamboo Utilities page or this link: chCmdBuf

Leave a Reply