Windows Tweaks Logo Microsoft PC-Hilfe - 02 blue red
Windows Tweaks Logo Microsoft PC Help - 09 white 120

Windows 98 - Tuning and improving the DOS memory

November 26, 2013
Updated: November 29, 2024
Quick overview:

If you still want to run older programs or games at the DOS level, you may encounter problems using the MS-DOS command prompt in Windows 98. In this case, switch to the correct DOS by selecting Start > Shut Down > Start Computer in MS-DOS Mode. However, many applications simply refuse to run because they require more conventional RAM—or even . Some users are left in the lurch here, as they understandably aren’t familiar with DOS.

I will now explain how to optimize your DOS startup files to get your classics running. The tip is divided into 3 points. You can combine the first point with the second point to free up conventional RAM and XMS memory or combine the first and third points to free up conventional RAM and EMS memory.

1. free up more conventional working memory

In your DOS startup files, many device drivers or files are loaded into conventional memory (this is 640KB in size). However, since most DOS programs are also relatively hungry for this type of memory, you should move the drivers and cache options to the high memory area (called High Memory Area - it is 384KB in size), since hardly any program uses the entire high memory. To move almost everything from the conventional memory to the high memory area, open the files config.sys and autoexec.bat with an editor (under Windows) or enter the command edit config.sys resp. edit autoexec.bat in real DOS mode.

          

Edit Config.sys
In this file you will probably see various lines that start with a DEVICE such as DEVICE=C:\WINDOWS\EMM386.EXE. Change all these DEVICE commands so that instead DEVICEHIGH it says. These drivers are now moved to the high memory area (therefore the HIGH). However, there are other commands in this file that are also significantly responsible for the memory load. Here you can see an optimally configured Config.sys file. Make sure that you copy exactly what is written here. Otherwise you may not be able to start your system. Now enter the following lines:

DOS=HIGH DEVICEHIGH=C:\WINDOWS\HIMEM.SYS DEVICEHIGH=C:\WINDOWS\EMM386.EXE FILESHIGH=22 BUFFERSHIGH=13,0 STACKSHIGH=0,0 FCBSHIGH=4,0 LASTDRIVEHIGH=Z DOS=UMB

If there are still device drivers in your Config.sys, e.g. from your mouse or CD-ROM drive, you should of course leave them as they are if you need them. But in any case enter DEVICEHIGH in front of the driver.

2. free up more XMS memory (Extended Memory System)

As described above, open the file Config.sys and change the line DEVICEHIGH=C:\WINDOWS\EMM386.EXE in DEVICEHIGH=C:\WINDOWS\EMM386.EXE NOEMS HIGHSCAN um.

3. free up more EMS memory (Expanded Memory System)

As described above, open the Config.sys file and change the line DEVICEHIGH=C:\WINDOWS\EMM386.EXE in DEVICEHIGH=C:\WINDOWS\EMM386.EXE RAM D=64 um.

Edit Autoexec.bat
This is an easier sub-catch. Simply enter the following letters before each device driver (you can see this, for example, in names that have something to do with CD-ROM or with mouse.sys) LH (stands for Loadhigh) in front of it. Save, restart and you're done

NOTE FOR NEW PUBLICATION: This article was produced by Sandro Villinger and comes from the Windows Tweaks archive, which has been built up since the late 1990s.

Founded Windows Tweaks as a teenager in 2001, his helpful PC tricks made it Germany's most visited Windows site (at the time Sandro looked like this). He then went on to write for international publications such as PC-Praxis, Computerbild, PCWorld in the USA, IMTEST.de and Hifi.de. Sandro's main job is as Global Product Marketing Lead and Consultant for various global tech companies, including Microsoft, AVG, Avast, Nero, TeamViewer, Swiss IT Security Group and now currently in the fintech sector for Gendigital. But he can't get rid of his passion and shares his tweaks here again. Privately, he enjoys traveling the world and loves Asia, especially Japan, Singapore and Korea, but also natural places like Iceland and the Nordics. You can reach Sandro via e-mail.

Leave a Reply

Your email address will not be published. Required fields are marked *

Windows Tweaks Logo Microsoft PC Help - 09 white 120
by Real Tech Experts
Save time and stress with expert knowledge about software, hardware, AI & Microsoft. 
Windows Tweaks Microsoft PC Help - SINCE 1998 - retina 2

Time-saving tips for PCs, laptops, Windows & software?

Subscribe to our newsletter and receive only our best guides & tweaks as well as exclusive tips for our subscribers. 
Newsletter-Form
Unsubscribe at any time. Approximately 1 - 2 emails per month. This consent includes information on revocation, shipping service provider, and statistics according to our Privacy Policy.
© 1998 - 2026 Windows-Tweaks.info
Made in Germany with ❤️ 
For all technology users around the globe.
This website runs on 🌳 GREEN energy
crossmenu