MemMaker Doesn't Optimize Batch Files in AUTOEXEC.BAT (94411)



The information in this article applies to:
    Microsoft MS-DOS operating system 6.0
    Microsoft MS-DOS operating system 6.2
    Microsoft MS-DOS operating system 6.21
    Microsoft MS-DOS operating system 6.22

This article was previously published under Q94411

SYMPTOMS

If a third-party memory manager has optimized memory by using specific loading programs or parameters within batch files, the following error message is displayed after you run MemMaker:

Bad Command or Filename
NOTE: You may also receive error messages from the third-party expanded memory manager (EMM) if commands such as LOADHI (from QEMM) are called.

CAUSE

Some third-party memory managers optimize one or more levels deep in batch files called from the AUTOEXEC.BAT file, trying to load programs in upper memory. MemMaker does not analyze software called from batch files within the AUTOEXEC.BAT file, but instead treats the whole batch file as one entity and attempts to load it in upper memory.

WORKAROUND

If you receive error messages because commands specific to third-party EMMs are still in your batch files, edit the files and remove the third-party specific information.

For example, if you have the following QEMM command in a batch file called from the AUTOEXEC.BAT file, you receive the following error message after you run MemMaker:

LOADHI /R:2 doskey /insert
To work around this problem, remove the QEMM-specific information. For example:
   doskey /insert

Modification Type: Major Last Reviewed: 11/23/1999
Keywords: KB94411