AutoIt版本
#include <Date.au3>
$s_date = 19510916
$e_date = 20141215
$s_dv = _DateToDayValue (Int($s_date/10000), Mod(Int($s_date/100),100),
Mod($s_date,100))
$e_dv = _DateToDayValue (Int($e_date/10000), Mod(Int($e_date/100),100),
Mod($e_date,100))
Local $l_y, $l_m, $l_d, $l_date
For $i = $s_dv To $e_dv
_DayValueToDate($i, $l_y, $l_m, $l_d)
$l_date = $l_y*10000 + $l_m*100 + $l_d
ConsoleWrite($l_date&@CRLF)
RunWait(@ComSpec & " /c " & "wget.exe
http://event.franklin.com.tw/C2014_11_TGF/showimg.aspx?date="&$l_date&" -O
"&$l_date&".png", "", @SW_HIDE)
Next