- @echo off
- mode con lines=1000
- set info=互助互利,支付宝扫码头像,感谢赞助
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- cd /d "%~dp0"
- for /f "tokens=2 delims==" %%a in ('wmic OS get LocalDateTime /value ^| find "="') do set "day=%%a"
- set year=%day:~,4%
- >nul 2>&1 set/a"1/!(year%%4)&!(!(year%%100))|!(year%%400)"&&(set y=366)||(set y=365)
- title %info% %year%[%y%]
- set "i=13560,j=0,k=0"
- for /l %%a in (1 1 %y%) do (
- set /a "n=(10000+%%a)*10,m=n/10,s=i+10*j+k
- setlocal enabledelayedexpansion
- echo;[!n:~-4! !s! !m:~-3!]
- "D:\gLAB\win\gLAB.exe" -input:obs "D:\gLAB\test\madr!n:~-4!.06o" -input:ant "D:\gLAB\test\igs05.atx" -input:sp3 "D:\gLAB\test\igs!s!.sp3" -output:file "D:\gLAB\win\gLAB!m:~-3!.out" -print:all
- endlocal
- set /a k+=1
- >nul 2>&1 set /a "1/(%%a %% 7)"||(set /a "j+=1,k=0")
- )
- echo;%info%
- pause
复制代码
|