run program sequentially

How to use “start” command and run program sequentially on Windows?

Type “start /?” at Command Prompt, it will list available switch’s for start

 

START [“title”] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]

[/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]

[/NODE <NUMA node>] [/AFFINITY <hex affinity mask>] [/WAIT] [/B]

[command/program] [parameters]

 

Example: Create “RunApp.bat” and copy /past below,

start /w calc.exe

start /w notepad.exe

 

NOTE: /W Waite for end of program then run the next program (sequential, one program at a time)

 

START /B AppName  (On Windows) Similar to command AppName  &   (on Unix/Linux)

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s