美文网首页
005.2-Win10系统【双击生成文件夹】的bat执行文件 v

005.2-Win10系统【双击生成文件夹】的bat执行文件 v

作者: Exap | 来源:发表于2022-12-05 15:04 被阅读0次

    @echo off

    echo initing...

    set str_time_first_bit="%time:~0,1%"

    if %str_time_first_bit%==" " (

    set str_date_time=%date:~0,4%%date:~5,2%%date:~8,2%

    )else (

    set str_date_time=%date:~0,4%%date:~5,2%%date:~8,2%

    )

    echo The folder is about to be created: %str_date_time%_backups

    md %str_date_time%_

    echo create folder: %str_date_time%_backups successful!

    exit

    相关文章

      网友评论

          本文标题:005.2-Win10系统【双击生成文件夹】的bat执行文件 v

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