KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q79751: Quitting Windows While an MS-DOS-Based Application is Running

Article: Q79751
Product(s): Microsoft Windows 95.x Retail Product
Version(s): WINDOWS:3.1,3.11
Operating System(s): 
Keyword(s): 
Last Modified: 31-OCT-1999

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Windows versions 3.1, 3.11 
-------------------------------------------------------------------------------

SUMMARY
=======

There are two instances in which you can close a running or minimized
MS-DOS-based application (either by choosing Close from the Control menu or by
quitting Windows):

- The application's program information file (PIF) has the Allow Close When
  Active option selected in the PIF's advanced settings.

  -or-

- The application was started with SHIFT+ENTER or a double-click while the
  SHIFT key was held down.

MORE INFORMATION
================

The Allow Close When Active option in the advanced section of the application's
PIF allows the application to be closed when it is still running. This setting
is not recommended for applications that need to run in the background because
the application does not have an opportunity to save work when it is shut down.

NOTE: The Allow Close When Active option in the advanced section of the PIF
Editor is only available in 386 enhanced mode.

When you start an application with either SHIFT+ENTER or SHIFT+ double-click, it
does not actually perform any functions until you open it by switching to it
(provided background operation has not been enabled). Before you switch to the
application, you can still close it by choosing Close from the Control menu or
by quitting Windows.

Additional query words: 3.10 win31 exit 3.11

======================================================================
Keywords          :  
Technology        : kbWin3xSearch kbZNotKeyword3 kbWin310 kbWin311
Version           : WINDOWS:3.1,3.11

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.