I have a situation where I output the results from the CLI program:
eg. input.exe> output.txt
Although output.txt already contains text, by default it is overwritten using the above command, how can you write output to output.txt without overwriting existing data?
source
share