PC Ext: Dispatch Cannot Spawn Batch File Without COMMAND.COM

Last reviewed: December 5, 1995
Article ID: Q101752
The information in this article applies to:
  • Microsoft Mail for PC Networks, version 3.2

SYMPTOMS

When the Dispatch program specifies a batch file with multiple executables as the idle process and COMMAND.COM cannot be found, only the first executable is performed; the others are ignored.

CAUSE

The Dispatch program searches for COMMAND.COM after completing the first executable. The program returns to Dispatch from the idle process when it fails to locate COMMAND.COM. This can be seen when running Dispatch > ERROR.TXT; the ERROR.TXT file records the error:

   Invalid COMMAND.COM
   Cannot start COMMAND, exiting

On a fast computer, Dispatch can overwrite this error, thus overwriting the need to record it in a text file.

This problem occurs only for certain versions of MS-DOS. The following table shows which versions cause Dispatch to fail to spawn the second batch file executable:

   Dispatch version     MS-DOS version        Result
   --------------------------------------------------------------

     3.0                3.3, 5.0, 6.0      Success in all cases
     3.2                3.3, 6.0           Success if COMMAND.COM
                                             is in the current
                                             directory of focus
     3.2                5.0                Failure

RESOLUTION

Ensure that a copy of the current version of COMMAND.COM is available in the directory from which dispatch is executed. Also check your version of MS-DOS against the above table.

STATUS

Microsoft has confirmed this to be a problem in version 3.2 of Microsoft Mail for PC Networks. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional reference words: 3.20 schdist
KBCategory: kbenv kbbug3.20
KBSubCategory: MailPCExt


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: December 5, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.