In Windows/DOS batch files when you want to use the output of one application as the input for another, you use the pipe symbol:
app1.exe | app2.exe