totoymola Posted December 1, 2004 Posted December 1, 2004 How can I set the defualt font and font size via registry? Thanks!
totoymola Posted December 1, 2004 Author Posted December 1, 2004 I'm talking about default font and font size of cmd. If it is discussed there, maybe I'm just blind. But I can't really fint it. Can you just point me to the right link? Thanks!
SiMoNsAyS Posted December 1, 2004 Posted December 1, 2004 i'm not sure... as a clue i can tell you that if you go to programs>accessories>command prompt you can rightclick it and check the properties where you can set the font. i think this will lead you to have a different font when opening that shortcut but i'm not sure how can you change it by running cmd.exe directly...ps: from my particular collection of regtweaks i have 1 that let you change the command prompt font color...
totoymola Posted December 1, 2004 Author Posted December 1, 2004 Yeah. I tried that but it the settings will take effect if I run cmd from the shortcut. But not if I run cmd from the run command. The settings when right-clicking the shortcut doesn't create a new registry entry in the HKCU\Softwares\Microsoft\Command Processor, and in the HKLM\Softwares\Microsoft\Command Processor. I tried adding a new DWORD entry "DefaultFont" but it didn't work. Maybe the settings for the default font is in a different location.
bek Posted December 1, 2004 Posted December 1, 2004 To change by cmd line or script:REM --- Modify Current User Console ---REG ADD HKCU\Console /v ScreenBufferSize /t REG_DWORD /d 0x12c0078 /fREG ADD HKCU\Console /v ScreenColors /t REG_DWORD /d 0x0f /fREG ADD HKCU\Console /v FaceName /d "Lucida Console" /fREG ADD HKCU\Console /v FontSize /t REG_DWORD /d 0x000c0000 /fREG ADD HKCU\Console /v FontWeight /t REG_DWORD /d 0x00000190 /fREG ADD HKCU\Console /v FontFamily /t REG_DWORD /d 0x36 /f...modify as a .reg file it would go something like this:Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Console]"FaceName"="Lucida Console""FontFamily"=dword:00000036Edit your default cmd shell properties then run below to get a look at your settings...REG QUERY HKCU\Console /sChange key path to HKU\.DEFAULT\Console if you want it globally for new profiles etc.HTH...
totoymola Posted December 1, 2004 Author Posted December 1, 2004 Oh so it's in the console.. Thanks for the info! What should be that value of "FontSize" to make it bigger?
bek Posted December 1, 2004 Posted December 1, 2004 How big you want it? 12 = 0x000c000014 = 0x000e000016 = 0x00100000FYI:CursorSize REG_DWORD 0x19FaceName REG_SZ Lucida Console <--My preferenceFontFamily REG_DWORD 0x36 <--this varies with font type, you need to set it or 1st time you open cmd.exe it will complainFontSize REG_DWORD 0xc0000 <---12FontWeight REG_DWORD 0x190FullScreen REG_DWORD 0x0HistoryBufferSize REG_DWORD 0x32InsertMode REG_DWORD 0x1 <--enabledLoadConIme REG_DWORD 0x1NumberOfHistoryBuffers REG_DWORD 0x4PopupColors REG_DWORD 0xf5QuickEdit REG_DWORD 0x1 <--enabledScreenBufferSize REG_DWORD 0x12c0064 <---300 x 100ScreenColors REG_DWORD 0xe <---br.yellow on blackWindowSize REG_DWORD 0x190050CurrentPage REG_DWORD 0x1HistoryNoDup REG_DWORD 0x0
totoymola Posted December 1, 2004 Author Posted December 1, 2004 Thanks. Just figured out a new solution. If I right click the Command Prompt shortcut on the start menu and change the settings there, it doesn't change anything on the registry. But, if I click the icon on the cmd window and change the settings there, the registry entries change too.Thanks for giving me a hint.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now