My Batch file needs to write all the echos to %log% but some echos also need to be written into %someotherlog%. Is there any nice way than doing it separately? Here is how I currently do it:
echo this output needs to be written into two files >> %log%
echo this output needs to be written into two files >> %someotherlog%
I would prefer this to be one line of code:
echo There must be something like >> ( %log% | %someotherlog% )
Can you help me with the syntax?
Many thanks,
Peter