Site Search:
Sign in | Join | Help

This Blog

Syndication

Steve Gray

Random Thoughts from the 4Penny VP of Development

Simple DOS commands

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

 

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add