Hi Hartmut I have not go thrung each command yet which err msg should go to ConOut and which should not. cd 123 should always goes to ConErr yes, and copy goes always to ConOut, it is diffent for diffent command example copy x f: > test x or drive f: does not exists and it always goes to ConOut.
Quoting Hartmut Birr hartmut.birr@gmx.de:
magnus@itkonsult-olsen.com wrote:
Hi Some Err msg shall always goes thurg the ConErr. but some error msg are
redirect
with commad > file, and goes to that file. I have test it on win2k cmd see which err msg did go to ConOut and which did goes to ConErr.
I do not agree. Some simple tests show wrong results:
cd 123 1>1.txt 2>2.txt dir 123 1>1.txt 2>2.txt
The error message is in 1.txt. They should be in 2.txt. 123 isn't a valid directory or file.
123 1>1.txt 2>2.txt
This sample shows the correct result.
- Hartmut
Ros-dev mailing list Ros-dev@reactos.com http://reactos.com:8080/mailman/listinfo/ros-dev