12/12/29 14:37:55.77 XX8xjG1I
if %d% leq 9 set dd=0%d%
if %m% LEQ 2 (set /a lyy=yy-1&&set /a lmm=m+12)
set /a day=lyy + lyy/4 - lyy/100 + lyy/400 + (13*lmm+8)/5 + d
set /a youbi=day %% 7
if %youbi%==0 goto LOOP
if %youbi%==6 goto LOOP
if %yy%%mm%%dd%==20121231 goto TAIL
rem echo %yy%%mm%%dd% %youbi%
echo mms://wmt9-od.stream.ne.jp/vod06/954/ozawa/%yy%%mm%%dd%.wma>>%yy%.txt
goto LOOP
:TAIL
if %m% lss 12 goto MONTH
if %yy% lss 2012 goto YEAR
:END