Visual SVN Server备份脚本

set tt=%date:~0,4%%date:~5,2%%date:~8,2%
mkdir D:\SVN_BACKUP_%tt%\Repositories
xcopy C:\Repositories D:\SVN_BACKUP_%tt%\Repositories /e /y /h

tt:为获取当前的系统时间格式为:20180301

 

转载于:https://www.cnblogs.com/wjoyxt/p/8487210.html

你可能感兴趣的:(Visual SVN Server备份脚本)