@echo off cd /d "%~dp0" (for /l %%i in (1900,1,2060) do ( for /l %%j in (1,1,12) do ( echo http://bjtime.cn/ym6.php?y=%%i^&m=%%j ) ))>"1.txt"复制代码