If anyone is interested, this is the batch script i made for robocopy;
Code:
--------------------
@ECHO OFF
:startbatch
cls
echo.
echo Dom's Backup Script
echo -------------------
echo.
set /p choice= Backup, Mirror or Quit (B/M/Q)? :
if '%choice%'=='b' goto startbackup
if '%choice%'=='m' goto startmirror
if '%choice%'=='q' goto end
goto startbatch
:startbackup
robocopy /S /IT "F:\Audio" "D:\BACKUP\Audio"
pause
robocopy /S /IT "F:\Drivers & Manuals" "D:\BACKUP\Drivers & Manuals"
pause
robocopy /S /IT "F:\Downloads" "D:\BACKUP\Downloads"
pause
robocopy /S /IT "F:\Photos" "D:\BACKUP\Photos"
pause
goto finish
:startmirror
robocopy /MIR "F:\Audio" "D:\BACKUP\Audio"
pause
robocopy /MIR "F:\Drivers & Manuals" "D:\BACKUP\Drivers & Manuals"
pause
robocopy /MIR "F:\Downloads" "D:\BACKUP\Downloads"
pause
robocopy /MIR "F:\Photos" "D:\BACKUP\Photos"
pause
goto finish
:end
echo.
echo Aborted
:finish
echo.
pause
--------------------
Thanks again for pointing me in the right direction. If anyone can
suggest any ways i could improve this, please do.
Also, if anyone does not want to use robocopy and write a batch, i also
came acrross this usful backup utility -
http://www.simplysafebackup.com/
--
dangerous_dom
------------------------------------------------------------------------
dangerous_dom's Profile: http://forums.slimdevices.com/member.php?userid=1763
View this thread: http://forums.slimdevices.com/showthread.php?t=22161
_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss