Bat 之 移动当前目录 所有文件夹下的指定文件

时间:2020-11-12 13:35:42   收藏:0   阅读:16

借鉴
https://blog.csdn.net/suxilong123/article/details/79550046?utm_source=blogxgwz5

@echo off
echo ##################start##################
::chcp 936
::setlocal enabledelayedexpansion
::color 0b

for /r . %%a in (*) do if exist "%%a" copy /y "%%a" .

echo ################## end ##################
pause>nul
echo on

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!