I'm console application and want to save the output to a text file. So I do this:
Pi.exe > Pi.txt
Then open the text file and see this:
Calculating Pi to 10,000 decimal places...
Then I se Pi (3.14...)
How can I have the command prompt remove the Calculating Pi to 10,000 decimal places...
?
If you wrote Pi.exe or can change it, the best two options are
Otherwise:
Pipe through find /v first:
It will capture only lines that don't contain "Calculating Pi".