Using Batch Files in Sharing Packages

Last reviewed: April 23, 1997
Article ID: Q130898

The information in this article applies to:
  • Microsoft Systems Management Server versions 1.0, 1.1 and 1.2

SUMMARY

When using a batch file as the command line executable for a sharing package in Microsoft System Management Server, the "Requires Drive Letter" option should be used. If "Runs with UNC Name" is used, the program item gives the following error upon execution:

   Could not start application with command line 'batch filename'.
   File not found."

MORE INFORMATION

Windows 3.x clients do not process batch files when they are executed through a Universal Naming Convention (UNC) connection. When the batch file is executed, an MS-DOS virtual machine is opened to process the batch file. However, the virtual machine does not support running batch files through UNC connections and is unable to continue.

If instead, the package is defined to use a drive letter, the client will assign a drive letter to the package share which will be available to the virtual machine for processing the batch file.


Additional query words: sms share prodsms
Keywords : kbenv kbnetwork ntconfig ntdosap
Version : 1.0 1.1 1.2
Platform : WINDOWS


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: April 23, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.