Solved

How to change DOS command window font programmatically

Posted on 2003-11-11
4
2,179 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 125 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 125 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
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 goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

726 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