Monday, August 1, 2011

Backup Utility

echo off
echo This driver backup batch file was developed by Lincoln Spector
echo for PC World. It will back up the folders containing your
echo hardware drivers to a folder called driverback inside My Documents.
pause
%homedrive%
cd "%homepath%\my documents"
md driverback
cd driverback
xcopy %windir%\help /y
xcopy %windir%\inf /r /y
xcopy %windir%\system /r /y
xcopy %windir%\system32 /r /y
xcopy %windir%\system32\drivers /r /y
cd ..
attrib -h driverback
echo The folders are backed up. You should now copy the contents of the
echo driverback folder to a CD.
pause
cls

then save as Backup.bat

No comments: