Skip to content

Instantly share code, notes, and snippets.

@eurica
eurica / autobackup.bat
Created February 3, 2011 06:10
My automated backup script
@rem Simple recursive backup script [email protected] 2011
@echo off
rem I strongly recommend backing up to a different drive or machine
set sourcedir=c:\projects
set destdir=g:\autobackups\projects
for /f "tokens=1-3 delims=/ " %%g in ('date /t') do (
set mm=%%g
set dd=%%h