?
Solved

How to change DOS command window font programmatically

Posted on 2003-11-11
4
Medium Priority
?
2,197 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 9723733
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 500 total points
ID: 9724978
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
ID: 10249009
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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.
Suggested Courses

801 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