I want to have a cmd file with something like:
:one
start /wait (blabla1.exe -q -m 1>blabla1.log 2>&1)
:two
start /wait (blabla2.exe -q -m 1>blabla2.log 2>&1)
where I want the output of the blabla application not the output of the start command.
Is it even possible to have the redirections "local" inside the start command?
Do I have to create a 1 line cmd containing
blabla1.exe -q -m 1>blabla1.log 2>&1
and pass it to the start
command?
Update: I need the first one (blabla1.exe) to be finished before I launch the 2nd one (blabla2.exe). That's the reason for using start /wait
.
(Windows XP and up)