You create a text file using Notepad or somesuch similar (assuming you are using Windows here), and then you enter your command-line commands, such as:
Code:
xcopy C:\Users\Brian\data Z:\BriansData\
That's the simplest way, of course, you would want to use the correct file locations, etc.