@echo off
set "dateBegin=2009-12-01"
set "dateEnd=2009-12-04"
set "pathSrc=D:\pic"
set "pathDst=D:\pic_bak"
for /f "delims=" %%a in ('dir /ad /b "%pathSrc%"') do (
if "%%a" geq "%dateBegin%" (
if "%%a" leq "%dateEnd%" (
xcopy /e /q /i "%pathSrc%\%%a" %pathDst%\%%a && rd /s /q "%pathSrc%\%%a"
)
)
)