Batch job

B

Boris Shehter

Hi,all!
I tried to run bat file ,and to receive the output
to file and to screen together ,and con't do it.Maybe some
one know how can i do it in one command

for example the bat programm is "prog.bat"

i am typed command
prog.bat 1> res.out.txt 1>1
 
H

Herb Martin

You are looking for the "Tee" command -- there is no
built in Tee for Windows.

Here is a link to some "unx" utilitlies that include a "Tee"
command: http://unxutils.sourceforge.net

Worth having for tee and many other useful tools that
run just fine on my Win2000 machines.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top