美文网首页
删除大文件夹脚本

删除大文件夹脚本

作者: 轻丨尘 | 来源:发表于2022-06-09 16:02 被阅读0次

    创建xxx.bat,内容如下
    @echo off

    echo Will delete file or directory,please confirm! [%1]
    pause

    echo Delete start! [%1]

    echo %DATE:0,4%-%DATE:5,2%-%DATE:~8,2% %TIME:0,2%:%TIME:3,2%:%TIME:~6,2%

    del /q /f /a %1

    rd /q /s %1

    echo Delete end!

    echo %DATE:0,4%-%DATE:5,2%-%DATE:~8,2% %TIME:0,2%:%TIME:3,2%:%TIME:~6,2%

    pause

    相关文章

      网友评论

          本文标题:删除大文件夹脚本

          本文链接:https://www.haomeiwen.com/subject/ooymmrtx.html