Modifying config.nt and autoexec.nt on XP

  • Thread starter Thread starter Uzi Barzilai
  • Start date Start date
U

Uzi Barzilai

Hi,

I'm trying to run a DOS program on XP.
It does not. I believe it needs more memory (4MB)

From XP help I realized I need to change
the config.nt and the autoexec.nt
(And modify the PIF to use the new ones)

Can anyone advise me about these modifications?

Thanks
UziB
 
Uzi said:
I'm trying to run a DOS program on XP.
It does not. I believe it needs more memory (4MB)

From XP help I realized I need to change
the config.nt and the autoexec.nt
(And modify the PIF to use the new ones)

Can anyone advise me about these modifications?

4MB implies the use of Extended, or more probably Expanded memory. You
have only 640 K of base 'conventional' memory on a PC and the system
uses some. For best DOS 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 conventional memory 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
 
Back
Top