Hello.

How to redirect STDOUT and STDERR to file.
I want to redirect to file as follow.

---
c:\>dir aaa > out.txt
c:\> type out.txt
 Volume in drive C is FREEDOS2021
 Volume Serial Number is 3668-1A1E
File not found.
---

But it works as follow.
It couldn't redirect "File not found" string.

---
c:\>dir aaa > out.txt
File not found.
c:\> type out.txt
 Volume in drive C is FREEDOS2021
 Volume Serial Number is 3668-1A1E
---


Thanks
Saito Yutaka
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to