@echo off for /f "delims=" %%i in ('dir /a-d/b/s *.*') do ( if not "%%i"==%0 ren "%%i" "C-%%~nxi") echo 命名完毕 pause