Microsoft DOS EMM386 command
The EMM386 file is an external command in MS-DOS command and is available in the below versions of Windows and MS-DOS as emm386.exe.
Turns on or off EMM386 expanded memory support.
EMM386 [ON | OFF | AUTO] [W=ON | W=OFF]
|ON | OFF | AUTO||Activates or suspends EMM386.EXE device driver, or places it in auto mode.|
|W=ON | OFF||Turns on or off Weitek coprocessor support.|
Typed alone would load the extended memory manager, usually by default this would be loaded in the autoexec.bat.
EMM386 error messages
|EMM386 error number||Description|
|5||Array boundary violation.|
|7||Coprocessor not available.|
|9||Coprocessor segment overran.|
|10||Invalid task statement.|
|11||Segment not present.|
To resolve error 12 from C:\> Type edit config.sys and add the below line STACKS=16,256; if you already have a stacks line in the config.sys, ensure it is =16,256.
Error 13 is an indication that a software program or driver is trying to use protected mode without cooperating with EMM386. You may need to obtain VCPI-compliant version of the program or driver from your vendor to correct this error message.