echo 切换到当前目录,......
cd /d %~dp0
CD /d %cd%
echo 删除旧的文件,目录,......
rd /s /q WebSite3copy
pause
echo 复制文件,......
XCOPY WebSite3* WebSite3copy /s /e /y
pause
echo 删除文件,......
rd /s /q WebSite3copylog
del /f /s /q WebSite3copylog*.*
del /f /s /q WebSite3copyAjaxTestData*.*
rd /s /q WebSite3copyecharts-2.2.7source
rd /s /q WebSite3copyecharts-2.2.7distchart
del /s /q WebSite3copyecharts-2.2.7distecharts-all.js
del /s /q WebSite3copyecharts-2.2.7distchartar.js
del /s /q WebSite3copyecharts-2.2.7distchartchord.js
del /s /q WebSite3copyecharts-2.2.7distcharteventRiver.js
del /s /q WebSite3copyecharts-2.2.7distchartfunnel.js
del /s /q WebSite3copyecharts-2.2.7distchartgauge.js
del /s /q WebSite3copyecharts-2.2.7distchartheatmap.js
del /s /q WebSite3copyecharts-2.2.7distchartk.js
del /s /q WebSite3copyecharts-2.2.7distchartline.js
del /s /q WebSite3copyecharts-2.2.7distchartpie.js
del /s /q WebSite3copyecharts-2.2.7distchart
adar.js
del /s /q WebSite3copyecharts-2.2.7distchartscatter.js
del /s /q WebSite3copyecharts-2.2.7distchart ree.js
del /s /q WebSite3copyecharts-2.2.7distchart reemap.js
del /s /q WebSite3copyecharts-2.2.7distchartvenn.js
del /s /q WebSite3copyecharts-2.2.7distchartwordCloud.js
rd /s /q WebSite3copyjquery-easyui hemeslack
rd /s /q WebSite3copyjquery-easyui hemesootstrap
rd /s /q WebSite3copyjquery-easyui hemesgray
rd /s /q WebSite3copyjquery-easyui hemesmetro
del /f /s /q WebSite3copyScriptsjquery-1.8.2.intellisense.js
del /f /s /q WebSite3copyScriptsjquery-1.8.2.js
del /f /s /q WebSite3copyUpdateFiles*.*
del /f /s /q WebSite3copyuploadifyjquery.uploadify.js
del /f /s /q WebSite3copydropzonedropzone.css
del /f /s /q WebSite3copydropzonedropzone.js
echo 根据当前日期时间,生成文件名称,......
set "YYYYmmdd=%yyyy%%mm%%day%"
set YYYYmmdd=%date:~0,4%%date:~5,2%%date:~8,2%
set "YYYYmmdd=%YYYYmmdd: =0%"
set hhmiss=%time:~0,2%%time:~3,2%%time:~6,2%
set "hhmiss=%hhmiss: =0%"
set "filename=WebSite3copy%YYYYmmdd%_%hhmiss%.zip"
echo 压缩文件,通过好压压缩软件,......
"C:Program Files2345SoftHaoZipHaoZipC.exe" a -tzip "%filename%" WebSite3copy* -r
pause