I\'m working in a Windows CMD.EXE environment and would like to change the output of stdout to match that of stderr so that I can pipe
CMD.EXE
stdout
stderr
From looking at http://support.microsoft.com/kb/110930 it seems that you want 2>&1 1>NUL. So something like the following should work for you:
2>&1 1>NUL
test.exe 2>&1 1>NUL | find "someErrorString"