It's probably easier to download something like Comodo Backup (free!) and then schedule it to backup a folder automatically :
http://backup.comodo.com/
However, if you did want to make a batch file, just create a file somewhere called backup.bat (or whatever you want) and then right click it and click edit.
You'll then need to think how you want to backup the files (i.e., perhaps zip them up or just copy them?). The example just copies them to a backup drive and creates a log file:
Code:
@echo off
xcopy "C:\Users\Dad\Pictures\*.*" d:\PicBackup\ /c /s /r /d /y /i > d:\PicBackup\xcopy.log
- /d—This switch copies all source files that are newer than existing destination files. It allows you to update only files that have changed, making the process a lot faster.
- /c—This command-line option ignores errors. You don’t want one corrupted file to halt the automated copying.
- /s—This option copies directories and subdirectories.
- /r—This switch copies read-only files.
- /y—Use this switch to overwrite files without prompting. You don't want any user intervention to be required.
- /i—Use this option to automatically create new folders on destination.