Page 2 of 2

Re: Event-driven multi-thread scheme for Batch files

Posted: 20 May 2023 11:12
by einstein1969
@aacini

What is the "2>&1 1>&3" trick?

Re: Event-driven multi-thread scheme for Batch files

Posted: 20 May 2023 12:15
by dbenham
That swaps stderr and stdout, so stdout messages go to 2, and stderr messages go to 1

See https://stackoverflow.com/a/12274145/1012053 for more information