批处理备份网站文件

@echo off
set t=%date:~0,10%
xcopy /y /h /e "D:\webapp\MM2" "E:\webback\MM2\%t:/=-%\"
xcopy /y /h /e "D:\webapp\PM" "E:\webback\PM\%t:/=-%\"
xcopy /y /h /e "D:\webapp\PreSales" "E:\webback\PreSales\%t:/=-%\"
xcopy /y /h /e "D:\webapp\SMASS" "E:\webback\SMASS\%t:/=-%\"

posted @ 2014-08-07 10:53  feimon  阅读(106)  评论(0)    收藏  举报