- @echo off
- set info=互助互利,支付宝扫码头像,感谢赞助
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- cd /d "%~dp0"
- set "文件夹1=A"
- set "文件夹2=YY"
- for /f "delims=" %%a in ('dir /a-d/b/s "%文件夹1%\*.jpg"') do (
- if exist "%文件夹2%\%%~na.*" (
- copy /y "%文件夹2%\%%~na.*" "%%~dpa"
- )
- )
- echo;%info%
- pause
复制代码
|