Microsoft KB Archive/65670

{|
 * width="100%"|

Saving Resources Using Multiple PROGMAN.INI Files

 * }

Q65670

-

The information in this article applies to:


 * Microsoft Windows versions 3.0, 3.0a

-

SUMMARY
It's possible to avoid low-resource problems in Microsoft Windows version 3.0 by altering the number of Program Groups contained in Program Manager. A convenient way of doing this is by using multiple PROGMAN.INI files.

MORE INFORMATION
Program Manager uses the PROGMAN.INI file to determine the groups it can use when it is running. If you run Windows sessions in which you will not be using programs in some groups, you can create separate PROGMAN.INI files for those sessions in which the unused group will not appear and save on system resources.

For example, if you have several applications that were written for previous versions of Windows, you must run them in real mode. When running in 386 enhanced mode, these applications need not be present in Program Manager. To open Windows with only the necessary groups in Program Manager, do the following:

 In Program manager, create a group called Old Windows Application, which contains these applications. Open Notepad. From the File menu, choose Open. Type PROGMAN.INI. From the File menu, choose Save As. Type PROGMAN.REL, then choose OK (this will be the PROGMAN.INI file for real mode). While still in Notepad, delete the line that refers to the Old Windows Applications group (GROUP#=C:\WINDOWS\OLDWINDO.GRP). From the File menu, choose Save As.</li> Type PROGMAN.ENH then choose OK. (This will be the PROGMAN.INI file for 386 enhanced mode.)</li> From the File menu, choose New (to create a batch file for the real-mode PROGMAN.INI).</li>  Enter the following lines (substitute the correct path): <pre class="CODESAMP">      COPY C:\WINDOWS\PROGMAN.REL C:\WINDOWS\PROGMAN.INI WIN /R </li> From the File menu, choose Save As.</li> Type RWIN.BAT and choose OK.</li> From the File menu, choose New (to create a batch file for the enhanced mode PROGMAN.INI).</li>  Still in Notepad, alter the lines to read as follows: <pre class="CODESAMP">      COPY C:\WINDOWS\PROGMAN.ENH C:\WINDOWS\PROGMAN.INI WIN /3 </li> From the File menu, choose Save As.</li> Type EWIN.BAT and choose OK.</li> Exit Notepad and exit Windows.</li></ol>

To start Windows in real mode, type &quot;RWIN&quot;, then press ENTER at the MS-DOS prompt. To start in enhanced mode, type &quot;EWIN&quot;, then press ENTER at the MS-DOS prompt. This will start Windows in the appropriate mode with the correct Program Groups.

Additional query words: 3.00 3.0 3.0a 3.00a winmem

Keywords :

Issue type :

Technology : kbWin3xSearch kbWin300 kbWin300a