thp2008 当前离线
六级士官
idwma 当前离线
少校
setlocal enabledelayedexpansion for /f "delims=" %%i in ('dir /b/s^|findstr /v "\.bat$"') do ( set "a=%%~ni" if "!a:~100!" neq "" ren "%%i" "!a:~0,100!%%~xi" )复制代码
评分人数
TOP
idwma 发表于 2022-6-29 20:39
setlocal enabledelayedexpansion for /f "delims=" %%i in ('dir /b/s^|findstr /v "\.bat$"') do ( set "a=%%~ni" if "!a:~100!" neq "" del "%%i" )复制代码