Wednesday, February 11, 2009

Changing the console font

You can add new fonts to the list available in the cmd.exe preferences screen.

First you want to find a good mono-spaced font like Consolas and install it.

Then you need to add a new String Value to the registry under HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Console\TrueTypeFont called 00* with a value of the exact font name (eg Consolas)

Something needs to happen before the font can be used, I am not sure what, but a reboot achieves it (logoff does not), so a reboot is next.

Finally, you can pop open a command prompt and change the preferences to use the new font. You might need to do this a couple of times if you use different ways of getting up a command prompt: the run command, the shortcut in accessories, or a shell extension - because of the way the system applies the preferences according to window title and not the actual executable.


* the default TrueType font is specified by 0, so the next needs to be 00, if you want to add another you can add 000 etc.

No comments:

Post a Comment