自动备份工程脚本

cd C:\Program Files\WinRAR
c:
WINRAR A 工程_姓名_%date:~0,4%_%date:~5,2%_%date:~8,2%.rar "D:\workspace_myeclipse9.0" -r
copy 工程_姓名_%date:~0,4%_%date:~5,2%_%date:~8,2%.rar D:\项目备份
del 工程_姓名_%date:~0,4%_%date:~5,2%_%date:~8,2%.rar

posted @ 2013-08-21 09:51  码写人生  阅读(150)  评论(0编辑  收藏  举报