- @echo off
- set info=互助互利,支付宝扫码头像,感谢赞助
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- cd /d "%~dp0"
- set "统一名称=xxx"
- for /f "delims=" %%a in ('dir /ad/b') do (
- for /f "delims=" %%b in ('dir /a-d/b "%%a\*.jpg" 2^>nul') do (
- echo;"%%a\%%b" --^> "%统一名称%%%~xb"
- ren "%%a\%%b" "%统一名称%%%~xb"
- )
- )
- echo;%info%
- pause
复制代码
|