ms dos prompt feature

I

ilver belletti

Can some explain me in which file are stored the informations used by XP to
open a MS-DOS window ?
I mean: full screen or window, text lines etch. This because on my computer
I can run at full screen an old DOS basic compiler, and I woul like to have
the same feature on another computer.
Best Regards
Ilver Belletti
 
J

Jose

Can some explain me in which file are stored the informations used by XP to
open a MS-DOS window ?
I mean: full screen or window, text lines etch. This because on my computer
I can run at full screen an old DOS basic compiler, and I woul like to have
the same feature on another computer.
Best Regards
Ilver Belletti

It depends - exaclty how are you invoking this DOS prompt?

What does "text lines etch" mean?
 
P

Pegasus [MVP]

ilver belletti said:
Can some explain me in which file are stored the informations used by XP
to
open a MS-DOS window ?
I mean: full screen or window, text lines etch. This because on my
computer
I can run at full screen an old DOS basic compiler, and I woul like to
have
the same feature on another computer.
Best Regards
Ilver Belletti

Create a shortcut on your desktop that points to cmd.exe. You can then set
all the parameters you wish.
 
J

Jose

Can some explain me in which file are stored the informations used by XP to
open a MS-DOS window ?
I mean: full screen or window, text lines etch. This because on my computer
I can run at full screen an old DOS basic compiler, and I woul like to have
the same feature on another computer.
Best Regards
Ilver Belletti

However you chose to open your window, once it is open, right click
the top menu bar and choose Properties.

There are 4 tabs - Options, Font, Layout, Colors.

Sounds like the options of most interest to you are on the Options tab
(Window of Full Screen) and the Layout tab (Size and Position).

Adjust things they way you want.

When you click OK, you can choose to Apply properties for current
window only, or Save properties for future windows with same title.
Adjust until you like it. You can always change it later.

Exit the window and test your changes, adjust, retest, etc.

The window that opens from Start, Programs, Accessories, Command
Prompt is the XP cmd.exe program and this is also what runs when you
click Start, Run, cmd <enter>. These are the most common methods. If
you use both methods, you will need to adjust each one separately.

If you use it frequently, consider adding it to the Quick Launch area
for one click, anytime access (as long as you can see the Taskbar).

XP also has a command.exe which is not the same as cmd.exe - most
people seem to just use cmd.exe
 
I

ilver belletti

If I set again the dos windows properties to full screen in another pc, when
I start my old dos basic compiler it uses only the upper half of the screen.
Instead my actual XP pc when I start the old dos basic compiler, all the
screem is used. For this reason I want to copy the a "prompt setup" file from
my actual pc to another, but I don' know which file to copy.
 
J

Jose

If I set again the dos windows properties to full screen in another pc, when
I start my old dos basic compiler it uses only the upper half of the screen.
Instead my actual XP pc when I start the old dos basic compiler, all the
screem is used. For this reason I want to copy the a "prompt setup" file from
my actual pc to another, but I don' know which file to copy.

I don't believe there is a prompt setup file to copy (that would be
too easy!)

If you have one machine that works, check the Properties on that
window and adjust the Properties on your other machine to match.

Your old DOS basic compiler may use another mechanism to change or
override the settings, but try matching Properties if you can.
 
T

Tim Meddick

Using the 'mode' command to set the number of lines per screen in
full-screen, will probably do the trick.

In your full-screen 'Command Prompt' type :

mode con: LINES=50

....that will probably enable you to see text across the entire length of
the screen and not just the top half.

Copying your old 'DOS Prompt' configuration file (.pif) across to an XP
computer will probably not work. You need to create a new pif file.

Create a new shortcut in XP with 'command.com' as the target. In this
shortcut's properties (right-click and choose 'properties') you will
find options to change the prompt's colors; font (& screen size) and
memory emulation .

Also, under the 'Program' tab, press the 'Advanced' button to define
what start-up files the prompt will use. These are the equivalents of
the Autoexec.bat and Config.sys files on a DOS-based computer. You can
use them to load start-up commands such as setting any environment
variables to save you time.

==

Cheers, Tim Meddick, Peckham, London. :)
 
I

ilver belletti

Setting the lines number doesn' t affect the problem. When I start my old dos
basic compiler on another XP PC it uses only the upper half of the screen.
Instead if I use the dir command all the screen is used. Besides, if I run
with the old dos basic compiler a program that generates a graphic, the whole
screen is used as in a standard DOS computer. In my actual XP computer the
old dos basic compiler starts at full screen from the beginning. Probably I
was able to save this feature when I used the previous Windows 2000 PC, and
when I changed the machine to actual XP one the dos prompt setting file was
copied, but i don' t know which is it.
 
I

ilver belletti

I am able to have my old dos basic compiler at full screen even from its
start. If I have a graphic in a partial screen, pressing Alt+Enter, I open
the prompt window settings, setting up the Layout property as full screen for
all the future program runs, when I open again the dos prompt window my old
dos basic compiler works at full screen from its start up.
 
P

Pegasus [MVP]

ilver belletti said:
I am able to have my old dos basic compiler at full screen even from its
start. If I have a graphic in a partial screen, pressing Alt+Enter, I open
the prompt window settings, setting up the Layout property as full screen
for
all the future program runs, when I open again the dos prompt window my
old
dos basic compiler works at full screen from its start up.

Glad to hear that you got it resolved.
 
T

Tim Meddick

The settings are not in any 'settings file', as you put it (other than a
shortcut [.pif / .lnk ] to the DOS program or prompt) but are located in
the Window's registry under the following keys :


HKCU\Software\Microsoft\Command Processor


....and

HKLM\SOFTWARE\Microsoft\Command Processor


....and especially :


HKCU\Console


This last key sets the "console's" 'properties' based on recognising the
window title.

The other two sets the default 'colour' only along with other stuff like
what key to press for 'auto-path-completion' and whether 'Command
Extensions' are employed and delayed expansion.

The 'CURRENT_USER key contains virtually the same settings as the
LOCAL_MACHINE key but takes precedence over it.

==

Cheers, Tim Meddick, Peckham, London. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

MS DOS PROMPT 2
Using an MS-DOS program in XP 4
MS-DOS change full screen? 2
MS-DOS prompt 17
MS DOS prompt window 2
Full screen MS-DOS Prompt question 2
DOS box settings, behavior. 11
25 lines in command mode? 3

Top