Microsoft KB Archive/198044

= How to Start Programs Sequentially in Windows =

Article ID: 198044

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft Windows 98 Standard Edition
 * Microsoft Windows 98 Second Edition
 * Microsoft Windows 95
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Server 4.0 Enterprise Edition

-



This article was previously published under Q198044



SUMMARY
This article describes how to start programs sequentially in Windows using the "start /w" command.



MORE INFORMATION
To start programs sequentially in Windows, create a text file containing the following lines:

start /w 

start /w 

start /w 



Save the text file with a .bat extension.

For example, you could create the following Test.bat file:

start /w calc.exe

start /w notepad.exe

After you save the Test.bat file, double-clicking it causes Calculator to start. After you quit Calculator, Notepad starts.

When you use this method, the programs in the batch file are started sequentially. The next program does not start until you quit the previous program.

Additional query words: switches command line

Keywords: kbfaq kbhowto KB198044

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.