• bat自动备份压缩文件


    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

    好的代码像粥一样,都是用时间熬出来的
  • 相关阅读:
    webpack管理资源
    webpack缓存
    webpack起步
    openssl命令使用
    linux系统安装中文字体-----
    HTML转成PDF的4个前端方法----但都被我拒绝了,我选择后端方法(这才是吊!)
    HTML页面如何导出pdf
    为什么装了easyless插件,vscode还是不能用?
    JSON格式错误,json_decode中true和JSON_UNESCAPED_SLASHES的用法
    tp5条件判断,in,notin,between,if等
  • 原文地址:https://www.cnblogs.com/jijm123/p/13343066.html
Copyright © 2020-2023  润新知