Код:
@Echo Off
Set NAME=постоянная_часть
Set ROOT=C:\TEST
PushD %ROOT%
For %%i In (%NAME%_2010???????.jpg) Do Set $N=%%i& Call :FILE_MOVE
Exit /B
:FILE_MOVE
If Not Exist %$N:~-11,2%\%$N:~-9,2%\ MD %$N:~-11,2%\%$N:~-9,2%
Move "%$N%" %$N:~-11,2%\%$N:~-9,2%\
GoTo :EOF