WFWG: Exiting from Shell Does Not Exit Windows for Workgroups

Last reviewed: November 23, 1994
Article ID: Q92793
The information in this article applies to:
  • Microsoft Windows for Workgroups versions 3.1, 3.11

SUMMARY

Some shell programs may not behave correctly when you run them with Windows for Workgroups; when you exit these shell programs, you may not exit Windows. In this situation, the correct behavior for a shell program is to exit windows.

An example of a shell program is Windows Program Manager. When you exit Program Manager, you also exit Windows.

MORE INFORMATION

In Windows version 3.0, an application determines that it is the shell by checking the number of tasks that are currently running. Because Windows for Workgroups starts some tasks before the shell, this manner of determining shell status does not work. To correctly determine shell status, applications should check the "shell=" line in the [boot] section of SYSTEM.INI file.

For information about how your shell determines shell status, contact the supplier of your shell program.

Workaround

  1. Create a directory called WINDOWS\WFWINIT.

  2. Copy the following files from your WINDOWS directory to the newly created WINDOWS\WFWGINIT directory:

          PRINTMAN.EXE
          CLIPSRV.EXE
          NETDDE.EXE
    

  3. Delete or rename the original files.

  4. Create program items in your startup group that start each of these files from the WINDOWS\WFWGINT directory.


KBCategory: kb3rdparty kbprb
KBSubcategory: wfw wfwg winshell
Additional reference words: 3.10 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.

Last reviewed: November 23, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.