Will echo the word "hello" into the file test.txt
COPY example.txt %userprofile%\desktop>>test.txt
will echo "1 file(s) copied" into test.txt
See where I'm going?
Notice the difference between ">" and ">>". > deletes the contents of the file and places the new contents on the first line. >> keeps the contents of the file and places the new text on the last line.