- @echo off
- rem setlocal enabledelayedexpansion
- set info=互助互利,支付宝扫码头像,感谢打赏
- rem 有问题,可加QQ956535081及时沟通
- title %info%
- cd /d "%~dp0"
- set c=0
- for /f "delims=" %%a in ('dir /a-d/b') do (
- if /i "%%~nxa" neq "%~nx0" (
- if not exist "%%~na\" (
- md "%%~na\"
- )
- echo;"%%a" --^> "%%~na\"
- move "%%a" "%%~na\"
- set /a c+=1
- )
- )
- :end
- echo;%info%
- pause
- exit
复制代码
|