@aacini
What is the "2>&1 1>&3" trick?
Event-driven multi-thread scheme for Batch files
Moderator: DosItHelp
-
- Expert
- Posts: 960
- Joined: 15 Jun 2012 13:16
- Location: Italy, Rome
Re: Event-driven multi-thread scheme for Batch files
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
See https://stackoverflow.com/a/12274145/1012053 for more information