![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
批处理
写有意思的代码
这个作者很懒,什么都没留下…
展开
-
批处理脚本:清空文件夹
@echo off rem echo 清空文件夹打包脚本 V1.0.0.20210106 pushd %~dp0 setlocal enabledelayedexpansion set sDstDirPath=%1 SET sDstDirPath="%sDstDirPath%" SET sDstDirPath=%sDstDirPath:"=% rem echo sDstDirPath=%sDstDirPath% if "%sDstDirPath%"=="" ( echo 待清空文件夹路径为空 .原创 2021-01-08 09:28:15 · 828 阅读 · 1 评论 -
批处理脚本:打包制定文件夹中的所有子文件夹
@echo off echo 文件夹子目录打包脚本 V1.0.0.20210106 setlocal enabledelayedexpansion set sDstDirPath=%1 SET sDstDirPath="%sDstDirPath%" SET sDstDirPath=%sDstDirPath:"=% rem echo sDstDirPath=%sDstDirPath% if "%sDstDirPath%"=="" ( echo 目标文件夹路径为空 echo ============.原创 2021-01-08 09:31:25 · 402 阅读 · 1 评论