I created a program compiled in Microsoft Visual C 2010 to control the Command Prompt window from the command line. It is a friendly substitute for MODE CON [COLS=c] [LINES=n], and it’s intended audience is people that do a lot of command line work, like network system administrators. The reason the program was compiled in C was so that it would not require any run-time DLLs. It is a standalone executable that runs on 32-bit and 64-bit Windows XP, Windows Vista, Windows 7 and Windows 8. It has also been tested on WinPE 3.0 and WinPE 5.0. It has been tested in Remote Desktop, including with the “Use All My Monitors for the remote session” option with a Windows 7 Ultimate remote machine. It fails with an access denied error on Windows 2000 because the program calls several system functions that were introduced with Windows XP.
SetConsole.exe does not require administrator privileges, but administrator privileges are required to put the program in a convenient place like C:\Windows or C:\Windows\System32.