It is more efficient to redirect once for the entire collection of commands than it is to redirect (with append) each individual command. It takes time to intialize the redirection. It may not be noticable for a few redirected commands, but if done in a loop with many iterations, it can become quite significant.
One method is to enclose the entire block of redirected commands within parentheses and redirect outside the parentheses
>stdout.log 2>&1 (
echo Some text
a.exe
b.exe
c.exe
)
Another option is to put your commands in a subroutine and redirect the CALL
call :redirect >stdout.log 2>&1
exit /b
:redirect
echo Some text
a.exe
b.exe
c.exe
exit /b