Windows PIF File Search ProcessesLast reviewed: November 23, 1994Article ID: Q81096 |
The information in this article applies to:
SUMMARY
Windows/286, Windows/386When you activate an application with the extension .COM, .EXE, or .BAT, Windows will search for a PIF file in the following order:
Windows 3.0Attempting to start a non-Windows-based application may result in the execution of the wrong non-Windows-based application. This problem occurs because of Windows 3.0's search algorithm. When Windows prepares to run a non-Windows-based application, it searches for a .PIF file with the same name as the executable file. The first .PIF file found is executed. Windows searches the directory in which the application is located, the WINDOWS directory, and the directories in the PATH statement. If Windows finds no .PIF file, it uses _DEFAULT.PIF.
MORE INFORMATIONFor example, Quicken and Quattro Pro have the same executable filename. An attempt to run Quicken (Q.EXE) may result in the execution of Quattro Pro (Q.EXE) if the first Q.PIF file found points to the incorrect Q.EXE file, unless one of the following steps is taken:
|
KBCategory: kbenv
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |