Page 1 of 1

Launch all selected programs (with/without) parameters

Posted: 2008-11-16, 10:49 UTC
by eugensyl
Many times I want to launch more than one file, many Hotfix - for example, one after one.

In console windows this is possible, but the file .cmd must be edit every time when a change occur:

START /wait prog1.exe /param
START /wait prog2.exe /param
START /wait prog3.exe /param
START /wait prog4.exe /param

where param are silent and no restart parameters.

How can I do this with list %N%P ?

There are two situations: parameters can be or not the same.

Maybe a plugins can solve this.

Posted: 2008-11-16, 10:55 UTC
by m^2
There's a .bat plugin.
And TCBL addon.

Posted: 2008-11-16, 12:01 UTC
by Horst.Epp
Use the %L parameter like in the following:

cmd /c C:\path_to_your_batch.cmd %L

This gives you a file in temp with all your selections. The name of this file is given to your batch file which then can use a for command to process all the lines.