Windows CMD Batch, START and output redirection

batchcommand lineredirection

I would like to run two programs simultaneously from a batch file, and redirect the first program's output into a text file like:

start python arg1 arg2 > out.txt
start 2nd.exe %1 arg2 arg3

While the programs run as expected, all output is shown on stdout.

Best Answer

You might need to do it this way:

start cmd /c python arg1 arg2 ^> out.txt