本帖最后由 zaqmlp 于 2019-3-19 21:41 编辑
- @echo off
- title 互助互利,代码可用,扫码头像,感谢赞助;有问题,加QQ956535081及时沟通
- cd /d "%~dp0"
- for /f "delims=" %%a in ('type "清单.txt"') do (
- for /f "delims=" %%b in ('dir /a-d/b *-%%a-*-*-*-*.*') do (
- for /f "tokens=1-5* delims=-" %%c in ("%%b") do (
- if not exist ".\%%e-%%f-%%g\" md ".\%%e-%%f-%%g\"
- echo;"%%b" --^> ".\%%e-%%f-%%g\"
- move /y "%%b" ".\%%e-%%f-%%g\"
- )
- )
- )
- pause
复制代码
|