Starting programs synchronously in
the batch files
Murat
Yildirimoglu murat@muratyildirimoglu.com, 10
Feb. 2005
In the
batch files, you can write down the names of the programs you want to run one by
one. For example, logon.bat file may contain the following lines:
Calc
Mspaint
Notepad
But, in
this case, the programs will not be run at the same time: Mspaint program will
run only after you close calculator; notepad program will run only after you close
mspaint. If you want the programs to be executed at the same you may do one of
the followings:
1) Write down all the commands o the
same line and use Pipe sign in between the commands For example,
Calc
| mspaint |
notepad
2) Start the programs using the start
command. For example,
Start calc
Start
mspaint
Start
notepad