Cannot Start Applications from Command Line with WFWG

Last reviewed: November 21, 1994
Article ID: Q94677
The information in this article applies to:
  • Microsoft Windows for Workgroups version 3.1

SYMPTOMS

A Windows-based application cannot be started from the MS-DOS command prompt when starting Windows for Workgroups unless it is on the MS-DOS search path in the AUTOEXEC.BAT file. The application cannot be started even if the current directory is the directory in which the application resides. For example, typing "WIN APP.EXE" (without the quotation marks) at the MS-DOS command prompt does not load Windows for Workgroups and then automatically run APP.EXE.

Entering a fully qualified path for the program may not correct the problem if the program requires additional libraries to run. In this case, the only workaround to this problem is to add the program's directory location to the MS-DOS search path in the AUTOEXEC.BAT file.

This problem does not occur with Windows 3.1.

A notable exception to this problem is Microsoft Excel. It can be launched from it's own subdirectory even when it is not on the MS-DOS search path.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


KBCategory: kbnetwork kbprb kb3rdparty
KBSubcategory: wfw wfwg
Additional reference words: 3.10 running run


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 21, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.