Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
is redirect in dos the same as for unix?
That is can I still use 2>&1 | (where standard error to standard output)?

Unix is more feature rich than dos, but it works basically the same.
Program > output
Will create the file if it doesn't exist, overwrite it if it does.
program >> output
will create the file, or add the output to the end of any existing file.
program < input
will run the program using the variables in the input file.
program1 | program2
will run program2 using the output of program1.
Email me with any questions.

![]() |
remove part of date
|
REgistry ills
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |