bjaj 当前离线
列兵
@echo off& setlocal enabledelayedexpansion for /f "delims=" %%1 in ('dir /a /b') do (set wind=%%1 ren "%%~1" "!wind:删除内容=!")复制代码
ShowCode 当前离线
VIP1
@echo off setlocal enabledelayedexpansion for /f "delims=" %%i in ('dir /a /b /s *.txt') do ( set "wind=%%~nxi" ren "%%i" "!wind:删除内容=!" )复制代码
TOP