How to have multiple output redirections?

December 3, 2010 at 08:28:09
Specs: Windows XP
How to redirect a command to a file and to the screen simultaniously?

See More: How to have multiple output redirections?

Report •

#1
December 3, 2010 at 08:30:36
Use the "tee" command, Example:

dir | tee file.txt

Screen Output will be something like:

C:\CaludiaShiferNude.jpg
C:\MonicaBelucciNude.jpg
C:\MarshSympsonNude.jpg


The output will be redirected to the file file.txt and to the screen.

Best Regards


Report •
Related Solutions


Ask Question