Using DOS alone, you can't.
You will need to use Tee, a utility designed to solve this exact problem.
Tee will write to the console and the filename passed as a parameter.
Think of a highway T-junction or a plumber's T-splitter. A T has 1 input and 2 outputs.
tee
for Windows ?