Every now and again I'll need to write a simple DOS bat file to accomplish a task... here are a few of the commands that I use. It's much easier to blog them here and have them than to search the internet for them.
Copy a file from one directory to another:
XCOPY source destination /Y /D /S
Append one file to another:
type source >> destination
Add a CR to a file:
echo. >> filename