Solved

How to change DOS command window font programmatically

Posted on 2003-11-11
4
2,156 Views
Last Modified: 2013-12-03
I am using the Windows 2000 OS. How can i set the DOS command window font programmatically. I am able to set it's tile using "title", change color using "color" and change size using "mode con" commands. Is there any similar command to set the font size.
0
Comment
Question by:rizsid
4 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 125 total points
Comment Utility
You can set that in the registry under "HKEY_CURRENT_USER\Console", the value is "FaceName". If you are creating a desktop shortcut, 'IShellLink' along with 'IShellLinkDataList' will allow you to specify that in a NT_CONSOLE_PROPS structure.
0
 
LVL 22

Assisted Solution

by:grg99
grg99 earned 125 total points
Comment Utility
Rather than handing you a fish, let's teach you how to bait a hook:

regedit /dump >before

( do the thing with the thing on the menu )

regedit /dump >after

diff before after

0
 
LVL 9

Expert Comment

by:tinchos
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Split: jkr {http:#9723733} & grg99 {http:#9724978}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now