Copy all files from one folder to another
#rem source = c:\syntaxhelp #rem target = d:\demo COPY c:\syntaxhelp\*.* d:\demo
Copy all files from one folder to another, suppress any prompts (such as overwrite prompt if the file already exists)
#rem source = c:\syntaxhelp #rem target = d:\demo COPY c:\syntaxhelp\*.* d:\demo /y
Merge the content of all the text files on one folder into a single target text file
#rem source = c:\syntaxhelp COPY c:\syntaxhelp\*.txt c:\syntaxhelp\combined.txt