Sunday, February 6, 2011

Backup useing Batch file

Here is an example you can use to back-up files. It is a working example you just need to change the variables to suite your needs. I will post a tutorial video in the future if you need more instructions.
Use notepad and copy and paste the below information into notepad then when saving it rename it .bat
@echo off

set drive=E:\
set backup=xcopy /s /c /d /e /i /r /y

echo backing up now....

%backup% "%userprofile%\My Documents\feedback form(2)" "%drive%\feedback form3"
@pause

No comments:

Post a Comment