Does anyone know how to redirect the output from a
batchfile to a text file AND to screen at the same time?

eg if i use

test.bat > C:\log.txt

all the output goes to the file.

I want to be able to see what is happening on screen as
well as logging it to a file.

Re: redirect batchfile to screen and file ?? by oncebitten

oncebitten
Mon Dec 01 10:33:51 CST 2003

Burnsie wrote:
> Does anyone know how to redirect the output from a
> batchfile to a text file AND to screen at the same time?
>
> eg if i use
>
> test.bat > C:\log.txt
>
> all the output goes to the file.
>
> I want to be able to see what is happening on screen as
> well as logging it to a file.

There was a program out there somewhere that did exactly that. It was many
years ago, so I don't even recall the name. You may want to Google for
"T-PIPE" or something to that effect.

--
Fris "Y-PIPE" bee® MCNGP #13

http://www.mcngp.tk
The MCNGP Team - We're here to help

http://groups.yahoo.com/group/certaholics
Certaholics - We're here if you're beyond help