SMS: Batch File Program on Windows 9x Not Closing Command Window

Article translations Article translations
Article ID: 215032 - View products that this article applies to.
This article was previously published under Q215032
Expand all | Collapse all


Batch file programs, executing on Microsoft Windows 95-based and on Microsoft Windows 98-based computers, may not close the MS-DOS Prompt window if the batch file was not called with a 'command /c' prefix.

This causes the Advertised Program Manager (APM) to think the program is still running, which then prevents the APM from running other advertised programs until the MS-DOS Prompt is manually closed.

When distributing batch file programs to Windows 9x clients, the following syntax should be used for the Command line:

 command /c batchfile.bat


Article ID: 215032 - Last Review: February 27, 2007 - Revision: 3.3
  • Microsoft Systems Management Server 2003
  • Microsoft Systems Management Server 2.0 Standard Edition
kbadvertisement kbinfo kbsoftwaredist KB215032

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from