Microsoft Knowledge Base Email Alertz

(215032) - 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...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 215032 - Last Review: February 27, 2007 - Revision: 3.3

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

This article was previously published under Q215032

SUMMARY

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
				

APPLIES TO
  • Microsoft Systems Management Server 2003
  • Microsoft Systems Management Server 2.0 Standard Edition
Keywords: 
kbadvertisement kbinfo kbsoftwaredist KB215032
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate