Q: Adding text to an empty copied file using Robocopy I have a script that copies all wildcard defined files from one place to another, and then an empty copy of each file to another location:
robocopy %copypath% %copypath_empty% *.DATAPUMP /MAXAGE:1 /create

My Question: How do I add arbitrary text into this blank file so that it is at least 1KB big..? 

A: Might need to iterate over the files and append the text. I don't believe there is a function in robocopy that will do this. I'm not positive on the syntax.
for f in *.DATAPUMP
do
  "text" >> "$f"
done


A: FOR /R %copypath_empty% %%f IN (*.DATAPUMP) DO ECHO TEXT >> %%f

