@echo off
set today=%date:~,4%-%date:~5,2%-%date:~8,2%
md C:\backup\data\%today%
md C:\backup\scripts\%today%
set today=%date:~,4%-%date:~5,2%-%date:~8,2%
md C:\backup\data\%today%
md C:\backup\scripts\%today%
pause
本文转自 xoyabc 51CTO博客,原文链接:http://blog.51cto.com/xoyabc/1654505,如需转载请自行联系原作者