[ros-dev] Re: [ros-svn] [greatlrd] 16563: Change some error msg from ConErr to ConOut for they are being pipe so the behover are equal with ms windows cmd

magnus at itkonsult-olsen.com magnus at itkonsult-olsen.com
Tue Jul 19 16:34:58 CEST 2005


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 at gmx.de>:

> magnus at 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 at reactos.com
> http://reactos.com:8080/mailman/listinfo/ros-dev
>





More information about the Ros-dev mailing list