Microsoft KB Archive/101237

From BetaArchive Wiki

MemMaker Doesn’t Finish If Batch File Is Run from AUTOEXEC.BAT PSS ID Number: Q101237 Article last modified on 11-15-1993 PSS database name: O_MSDOS

6.00 6.20

MS-DOS

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

SYMPTOMS

When you run MemMaker and your AUTOEXEC.BAT file contains a command to run a batch file, MemMaker does not continue after it restarts your computer the second time. Instead, your system remains at the MS-DOS command prompt.

In this situation, after you restart the computer and then restart MemMaker, you receive the following message:

Your computer was restarted before MemMaker finished optimizing your system’s memory.

CAUSE

This occurs when the batch file is run without the CALL command.

WORKAROUND

To work around this situation, choose “Exit and Undo changes” to return to your original configuration.

To avoid this problem, use the CALL command to call the batch file. This allows the batch file to run and then return to the AUTOEXEC.BAT file.

For example, if the following is the line in the AUTOEXEC.BAT used to run the batch file:

C:.BAT

Changing it as follows prevents the problem:

CALL C:.BAT

Additional reference words: 6.00 Mem maker batch call memory memmaker.exe 6.20

Copyright Microsoft Corporation 1993.