Computing.Net > Forums > Disk Operating System > Redirect/Pipe 2>&1 |

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Redirect/Pipe 2>&1 |

Reply to Message Icon

Name: John
Date: February 23, 2000 at 14:02:22 Pacific
Comment:

is redirect in dos the same as for unix?

That is can I still use 2>&1 | (where standard error to standard output)?



Sponsored Link
Ads by Google

Response Number 1
Name: Ryan Cooley
Date: February 23, 2000 at 19:48:29 Pacific
Reply:

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.


0
Reply to Message Icon

Related Posts

See More


remove part of date REgistry ills



Post Locked

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


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Redirect/Pipe 2>&1 |

Dos 6.2,disk 1 www.computing.net/answers/dos/dos-62disk-1/1014.html

Help needed www.computing.net/answers/dos/help-needed/2771.html

Dos 6.2.2 5 1/4 www.computing.net/answers/dos/dos-622-5-14/4648.html