本帖最后由 zaqmlp 于 2019-6-3 00:08 编辑
- @echo off
- set info=互助互利,支付宝扫码头像,感谢赞助
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- cd /d "%~dp0"
- for /f "delims=" %%a in ('dir /a-d/b "(*)*-*-*.jpg"') do (
- if exist "%%~na\" (
- md "%%~na\新\" 2>nul
- move %%a "%%~na\新\"
- for /f "tokens=1-4 delims=)-" %%b in ("%%~na") do (
- md "%%b)\%%b)%%c\%%b)%%c-%%d" 2>nul
- move "%%~na" "%%b)\%%b)%%c\%%b)%%c-%%d\%%~na"
- )
- )
- )
- echo;%info%
- pause
复制代码
|