@echo off @for /f "delims=" %%i in ('dir /a:d /B *') do ( ren "%%i" "=%%i" ) pause复制代码
for /f "delims=" %%a in ('dir /ad /b') do ren "%%a" "=%%~na"复制代码