I’m writing a batch script and need to copy the content of a certain folder to another folder.
For example I have the folder
source/
file1.txt
file2.txt
file3.txt
and I have files in a destination folder. How do I copy the contents of source into destination so the final destination would look like this
destination/
existing1.txt
existing2.txt
file1.txt
file2.txt
file3.txt
I tried xcopy but can’t quite get it right.
Just use wildcards: