标签:
备份指定目录日期为最新的文件
@echo off
start /d D:\MyProgram\MyMoneyMaster /wait D:\MyProgram\MyMoneyMaster\mymoneymaster.exe
del /q /f "%temp%\m3.txt"
dir /b /o:-d D:\MyProgram\MyMoneyMaster\backup\*.bk3 > "%temp%\m3.txt"
set /p newfile=<"%temp%\m3.txt"
D:\MyProgram\SysinternalsSuite\7za.exe a "E:\快盘\m3Base\%date%.7z" D:\MyProgram\MyMoneyMaster\backup\%newfile%
exit
标签:
原文地址:http://www.cnblogs.com/Tty725/p/4523382.html