Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Redirecting output to multiple files and to stdout simultaneously in win XP command line

I would like to redirect the output from a command to a file and to stdout. I am using Windows XP command line.

I realize that there is a command in linux called tee which will do this, but I want this in windows.

like image 302
Amjith Avatar asked Dec 30 '22 03:12

Amjith


2 Answers

The first hit when googling windows tee gives UNIX-style tee utility for Windows

like image 180
JeffH Avatar answered Jan 01 '23 17:01

JeffH


Use tee for windows.

like image 36
jdigital Avatar answered Jan 01 '23 18:01

jdigital