Re: Width of Command Prompt (DOS) EDIT Window ??
- From: "mhc" <mhc@xxxxxxxxxxxx>
- Date: Thu, 8 Jun 2006 20:50:36 +0000 (UTC)
monir wrote:
Hello;
I probably mis-spoke ... my apologies!
My question was not related to how many characters per line one can
have in a DOS application, but rather how one can change the physical
dimensions of the Command Prompt - Edit window.
I fully understand that the dimensions of the Edit window in cm/inch
mean nothing, but I thought by providing such info. together with the
"Defaults" and "Properties" values, you (the experts) would be able
to determine why I could not increase the current width of the Edit
window, so that I may be able to view more of the displayed line
without moving the cursor to the end of the line and back again!
Where would I enter the command ??:
....MODE CON COLS = 100
At the prompt?? and Is it a Global adjustment or Local one for a
specific Dos application ??
Thank you.
"mhc" wrote:
-----------
The MS-DOS editor shipped with Windows XP is MUCH faster than
Notepad for find/replace operations, so I can understand why
someone would want to use it.
If you set up the command prompt to run in a window, you can adjust
the width of the screen with the MODE command. For example:
MODE CON COLS=100
will make the screen wider. Remember, DOS is character-based, so
measurements such as centimeters and pixels mean absolutely nothing.
Another way to use more of the screen is to select a different
screen font and use a larger font size. Again, since DOS is
character-based, you MUST use a fixed-pitch font such as Lucida
Console.
Hope this helps.
--
You would type in the MODE command at the command prompt. But it will
be required every time you start the CMD.EXE application. For a listing
of available MODE commands, type MODE /? at the command prompt.
You can adjust the global row/column settings through the registry, and
the change will be permanent. You will need to know the (long) user
number that Windows has assigned to your account, it will be something
like S-1-5-21-62528899-249784358-1063493457-1004. Then go to the
following registry key:
HKEY_USERS\S-1-5-21-(lots of numbers)\Console
and change the value WindowSize to reflect, in hexadecimal, the number
of rows and columns you want. If yours is currently 80x43, the value
should be listed as 002B0050. Change it to 002B0064 for a 100x43 screen.
.
- Follow-Ups:
- References:
- Re: Width of Command Prompt (DOS) EDIT Window ??
- From: RobertVA
- Re: Width of Command Prompt (DOS) EDIT Window ??
- From: mhc
- Re: Width of Command Prompt (DOS) EDIT Window ??
- From: monir
- Re: Width of Command Prompt (DOS) EDIT Window ??
- Prev by Date: Upgrade Home to Pro
- Next by Date: Malke - the expert of computers!!
- Previous by thread: Re: Width of Command Prompt (DOS) EDIT Window ??
- Next by thread: Re: Width of Command Prompt (DOS) EDIT Window ??
- Index(es):
Relevant Pages
|