Text Size

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
The Great One
Posts: 23
Joined: 02 Jan 2010 20:54

Text Size

#1 Post by The Great One » 20 Jan 2010 20:17

Is there any way to adjust the text size from code within the batch file.

alan_b
Expert
Posts: 357
Joined: 04 Oct 2008 09:49

Re: Text Size

#2 Post by alan_b » 22 Jan 2010 12:50

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

The Great One
Posts: 23
Joined: 02 Jan 2010 20:54

Re: Text Size

#3 Post by The Great One » 22 Jan 2010 14:25

Thanks for the help.

Post Reply