#CONFIG FILE DOSBOX WINDOWS 3.1 KEYGEN#
LH C:\Windows\COMMAND\MSCDEX.EXE /D:123Ī line used to load the CD-ROM into the high memory area. Sets the computer path to look in the C:\Windows directory or the root if a command used at the prompt is not found.
These settings are the typical settings for most sound cards. A220 is a port address of 220, I5 is IRQ 5, and D1 is DMA 1. If you have this line in your autoexec.bat, you have all settings for your sound card. Tells the computer to set the Sound Blaster settings, which is a good line for computer games or other programs needing sound. The set sound is telling the computer to send all sound events that the computer may run to that directory containing the sound drivers. Tells MS-DOS to read the lines but not echo them or their results back to the screen. The following is some of the more common lines found in the autoexec.bat and further information about each of the lines. Autoexec.bat layoutīelow is an example of how the autoexec.bat may look. Load all your devices in the config.sys and autoexec.bat into high memory. Additionally, the first and third lines cannot be loaded into high memory because these lines are the memory managers. DEVICE=C:\Windows\HIMEM.SYSīy placing the DOS=HIGH,UMB on the second line, this can save memory because it's loading DOS into upper memory before loading the memory manager. Make sure you have the three lines below at the beginning of your config.sys file. The following commands help your computer load programs into memory more efficiently, allowing you to have more memory for MS-DOS programs and games. If you get errors with an autoexec.bat line, remark the line instead of removing the line, in case it needs to be added again.