smss 当前离线
中尉
@Echo off&SetLocal EnableDelayedExpansion&set n=0 for /d %%i in (*)do set "x=%%i"&ren "%%i" !x:~,6!&cd "%%~dpi\!x:~,6!"&for /f "delims=" %%j in ('dir /b/o:-n *.bmp,*.jpg,*.gif,*.png')do set /a n+=1&if !n!==1 del "%%j" pause复制代码
TOP