Page 1 of 1

Text Size

Posted: 20 Jan 2010 20:17
by The Great One
Is there any way to adjust the text size from code within the batch file.

Re: Text Size

Posted: 22 Jan 2010 12:50
by alan_b
If you right click on the address bar of a CMD.EXE window you can select properties and alter the font size.
This seems to affect the registry, so you cannot simply alter a file.

I ran Regshot.exe whilst doing the above, and found the only significant changes to the system were in the registry at :-

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\kmixer\Enum\
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kmixer\Enum\
HKEY_USERS\S-1-5-21-2390561323-618324915-1863506564-1008\Console\

You may be able to use the Windows GUI to select the desired font, and then export the above keys,
but "HKEY_USERS\S-1-5-21..." may be different for you.

With luck you can then use one line in your batch script to import the registry changes.

Registry changes never cause disaster for me.
Your experience could be different ! ! !
I recommend use of ERUNT to create a fresh complete registry backup before using RegEdit - just in case.

Alan

Re: Text Size

Posted: 22 Jan 2010 14:25
by The Great One
Thanks for the help.