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 comment