PIF Optional Parameters and Different Modes in Windows
ID: Q71346
|
The information in this article applies to:
-
Microsoft Windows versions 3.0, 3.0a, 3.1, 3.11
SUMMARY
When you are in 386 enhanced mode, entries in the Optional Parameters
field of a PIF do not appear in the same PIF when viewed in real (Windows
3.0 only) or standard mode. This is by design.
To have an optional parameter available in all three modes,
do the following:
- Set up the PIF as you normally would.
- From the Mode menu, choose the mode not currently checked.
- Choose OK to confirm the mode setting.
- Enter the optional parameters.
MORE INFORMATION
There are two Optional Parameters fields in a PIF, one for real and
standard mode and one for enhanced mode. This is by design. It allows
different parameters to be passed to an MS-DOS application to match the
memory management of Windows.
For example, let's say you have an MS-DOS application that uses expanded
memory. 386 enhanced mode Windows can provide expanded memory to MS-DOS
applications. Standard mode Windows cannot provide expanded memory.
The Optional Parameters for the DOS application can be set to take
advantage of expanded memory when run in enhanced mode, and to
optimize use of conventional memory when run in standard mode.
Steps to Reproduce Problem
- Run Windows in enhanced mode.
- Open the PIF editor in the Accessories group.
- Enter COMMAND.COM in the Program
Filename box and then enter "test" for the Optional Parameters.
- From the File menu, choose Save As and name the file "TEST.PIF."
- From the Mode menu, choose Standard.
- Choose OK to confirm the mode setting.
The Optional Parameters field will now be blank.
Additional query words:
3.00 3.00a 3.10 3.11
Keywords :
Version : WINDOWS:3.0,3.0a,3.1,3.11
Platform : WINDOWS
Issue type :