Batch job

  • Thread starter Thread starter Boris Shehter
  • Start date Start date
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
 
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.
 
Back
Top