linzuolou 当前离线
一级士官
batman 当前离线
考官
荣誉版主
@echo off cd /d e: if not exist kugoo md kugoo for /d %%a in (*) do if /i "%%a" neq "kugoo" rd /s /q "%%a"复制代码
TOP
kyo2605757 当前离线
列兵
@echo off e: if not exist kugoo md kugoo ren "kugoo" "kugoo../" del /f /s /q * for /f %%i in ('dir /b /s') do rd /s /q %%i ren kugoo~1 kugoo pause复制代码
wolonga123 当前离线
上等兵
@echo off cd /d e: del. /q if not exist kugoo md kugoo for /f %%i in ('dir /b ^|findstr /v "kugoo"') do rd %%i pause复制代码
@echo off e: if not exist kugoo md kugoo ren "kugoo" "kugoo../" del /f /s /q * for /f "delims=" %%i in ('dir /b /s') do rd /s /q "%%i" ren kugoo~1 kugoo pause复制代码
applba 当前离线
中校
@echo off pushd e: if not exist kugou md kugou set ""kugou"=z" for /d %%i in (*) do if not defined "%%i" rd /s /q "%%i" for %%i in (*) do del /f /q "%%i" popd pause复制代码