Need to Run a DOS Routine on a Machine with Windows XP

  • Thread starter Thread starter Paul Byrd
  • Start date Start date
P

Paul Byrd

Does anyone know how you can run a DOS routine on a
machine that has the Windows XP Professional Operating
System loaded.
 
In
Paul Byrd said:
Does anyone know how you can run a DOS routine on a
machine that has the Windows XP Professional Operating
System loaded.


You can run many DOS program just as you would run any other
program. Many DOS programs run without doing anything special;
some require that you run them in Compatibility Mode (look up
compatibility in the help and support center); a few won't work
at all.
 
Paul said:
Does anyone know how you can run a DOS routine on a
machine that has the Windows XP Professional Operating
System loaded.

If it will run at all (and only 'well behaved DoS programs will) you do
so either by just clicking its .exe file, or making a shortcut to it, or
by running it from All Programs - Accessories - Command Prompt. But if
it wants any resident driver or TSR loaded from config.sys or
autoexec.bat or if it is one that wants to handle hardware for itself
instead of through formal calls to DOS, you are not going to succeed.
Also you may need to set the environment up - 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