Re: Width of Command Prompt (DOS) EDIT Window ??
- From: monir <monir@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 8 Jun 2006 19:01:01 -0700
Hello;
I agree! ... It's likely that the width of the Command Prompt - Edit window
is hardwired in the DOS Editor to 80 columns, and it's not worth the effort
to adjust it, if any, since it's an inconvenience rather than a problem!!
Thank you all.
"seth" wrote:
it must be hardcoded to use an 80 column width.
ms-dos editor is 11 years old, i can't see getting around that
if i try to manually change the column width with edit running it doesn't
work
seems to be the same behaviour with edlin
"monir" <monir@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5EE5638E-6354-4821-BF3A-2B6F483452D2@xxxxxxxxxxxxxxxx
mhc, seth;
a) Either typing the command:
MODE CON COLS=100
or
b) modifying the command line in the command prompt shortcut to read:
%SystemRoot%\system32\cmd.exe /k mode con cols=100
would ONLY change the width of the Command Prompt window, which, as you
know, could easily be adjusted via the "Command Prompt" Properties in its
sub-menu, with no problem!
The defficulty is related to the Command Prompt - Edit window. Neither of
the above a) or b) had any effect on the width of the Edit window. The
latter appears to be stuck at 80x43 and would not budge, either for the
Current Window Only, or for the Short Cut that Started This Window.
Any suggestions ? Thank you.
"seth" wrote:
or you could modify your command prompt shortcut to use the /k switch
your command line in your shortcut would read:
%SystemRoot%\system32\cmd.exe /k mode con cols=100
"mhc" <mhc@xxxxxxxxxxxx> wrote in message
news:e6a2iq$pd0$1@xxxxxxxxxxxxxxxx
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:
- Re: Width of Command Prompt (DOS) EDIT Window ??
- From: Howard Purcel
- Re: Width of Command Prompt (DOS) EDIT Window ??
- 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 ??
- From: mhc
- Re: Width of Command Prompt (DOS) EDIT Window ??
- From: seth
- Re: Width of Command Prompt (DOS) EDIT Window ??
- From: monir
- Re: Width of Command Prompt (DOS) EDIT Window ??
- From: seth
- Re: Width of Command Prompt (DOS) EDIT Window ??
- Prev by Date: Re: When will Vista be out?
- Next by Date: Re: Q- Can any OS ever be perfect?
- 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
|