lovelymorning 当前离线
四级士官
@echo off Setlocal Enabledelayedexpansion for /f "delims=" %%i in ('dir /b') do ( set na=%%~ni set nb=%%~xi set nc=!na:aaa=bbb! if not "!nc!!nb!"=="%~nx0" ren "%%i" "!nc!!nb!" ) pause复制代码
TOP