Windows CMD命令行进行日期计算及本件备份
@echo off::设置当前日期前多少天或后多少天set/a beforedays=-1::当前日期转换为天数并进行计算call :Date2Day %date:~0,10% daysset/a days=%days%%beforedays%call :Day2Date %days% lastdate::计算完毕,生成想要的字符组合rem set day=%da