Using batch files in sharing packages (130898)



The information in this article applies to:

  • Microsoft Systems Management Server 1.0
  • Microsoft Systems Management Server 1.1
  • Microsoft Systems Management Server 1.2
  • Microsoft Systems Management Server 2.0
  • Microsoft Systems Management Server 2003

This article was previously published under Q130898

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.

Modification Type:MinorLast Reviewed:6/14/2005
Keywords:kbenv kbnetwork KB130898