Running DOS with Xp

  • Thread starter Thread starter greg
  • Start date Start date
G

greg

Do any one know how i can run DOS based programme with
windows xp.
Any suggestions.
thanks
greg
 
....with great difficulty !

An option is to make dual boot hd, say W98se and xp. Trouble is MS is going
to dump W98 soon, not that that'll make much difference, I shall keep it
forever!

regards, Richard
 
XP includes a version of DOS. Look in C:\Windows\system32 for "command.com"
that is DOS.
 
You know why it's there. To format and make a DOS boot floppy. Nothing else!
 
In
Shootist said:
XP includes a version of DOS. Look in C:\Windows\system32 for
"command.com" that is DOS.


Sorry, but no. It emulates DOS. It is similar to DOS, and does
many, but not all, the same things, but it is *not* true DOS.
 
greg said:
Do any one know how i can run DOS based programme with
windows xp.

You can run, under an emulated environment, ('DOS Window') those DOS
programs that are well behaved:

They must not need resident real mode drivers or TSRs loaded from
config.sys or autoexec.bat

They must work entirely through formal DOS calls - anything that tries
to access hardware direct, by (for example) reading IO areas will be
thrown off.

For best DOS conventional memory, edit the windows\system32\config.nt
and autoexec.nt files.

In config.nt have (apart from the large number of REM lines) just
EMM = B=4000 RAM
(note the exact spaces - either side of the first = and before RAM,
none next to the second =) and

dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=40
(or higher files= if needed)

and in autoexec.nt have

REM Install DPMI support
lh %SystemRoot%\system32\dosx

with other earlier lh lines REM ed out, and then any SET or PATH lines
that may already be present at the end.

This should give about 612K for a program, run from a shortcut made to
its .exe file. R-click the shortcut, Properties and on the Memory page
you can set an explicit value - rather than Auto - for any EMM or XMS
memory it may need, and for initial environment space
 

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

Back
Top