This is not possible (probably, Im sure someone will come up with a smart way of doing it!!)
However - if you are not interested in the contents of the file, just redirect the output to the device NUL (>NUL) which just loses the output.
If you are only interested in some of the output, filter it with FindStr
mycommand.exe|findstr 'parameters'> mytext.txt
'parameters' is obviously replaced by your conditions for selecting lines
Graham