标签:query date scripts mis bootstra ram load bar 切换
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 WebSite3copy\log
del /f /s /q WebSite3copy\log\*.*
del /f /s /q WebSite3copy\Ajax\TestData\*.*
rd /s /q WebSite3copy\echarts-2.2.7\source
rd /s /q WebSite3copy\echarts-2.2.7\dist\chart
del /s /q WebSite3copy\echarts-2.2.7\dist\echarts-all.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\bar.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\chord.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\eventRiver.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\funnel.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\gauge.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\heatmap.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\k.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\line.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\pie.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\radar.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\scatter.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\tree.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\treemap.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\venn.js
del /s /q WebSite3copy\echarts-2.2.7\dist\chart\wordCloud.js
rd /s /q WebSite3copy\jquery-easyui\themes\black
rd /s /q WebSite3copy\jquery-easyui\themes\bootstrap
rd /s /q WebSite3copy\jquery-easyui\themes\gray
rd /s /q WebSite3copy\jquery-easyui\themes\metro
del /f /s /q WebSite3copy\Scripts\jquery-1.8.2.intellisense.js
del /f /s /q WebSite3copy\Scripts\jquery-1.8.2.js
del /f /s /q WebSite3copy\UpdateFiles\*.*
del /f /s /q WebSite3copy\uploadify\jquery.uploadify.js
del /f /s /q WebSite3copy\dropzone\dropzone.css
del /f /s /q WebSite3copy\dropzone\dropzone.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 Files\2345Soft\HaoZip\HaoZipC.exe" a -tzip "%filename%" WebSite3copy\* -r
pause
标签:query date scripts mis bootstra ram load bar 切换
原文地址:https://www.cnblogs.com/jijm123/p/13343066.html