@echo off
for /f “delims=” %%i in (‘dir /b /s’) do (
set “file=%%~nxi”
setlocal enabledelayedexpansion
for %%j in (q w e r t y u i o p a s d f g h j k l z x c v b n m) do (
set “file=!file:%%j=%%j!”
)
for %%j in (“!file!”) do endlocal & ren “%%i” “%%~j”
)
pause
评论前必须登录!
注册