Introduction to batch files
Batch files are essentially computer task lists that do a series of events when commanded. Good for when you need to to the same thing over and over again. I am not very good at them and have little use for them, usually, but….
Batch file introduction (with video) at Instructables
Here is another nice post on setting up batch files at InspectMyGadget