Hello123World 当前离线
荣誉版主
@echo off&SetLocal EnableDelayedExpansion Set /p str=请输入要去除的前缀: for /r %%i in (*.*) do ( Set nstr="%%~ni" Set nstr="!nstr:%str%=!" ren "%%i" "!nstr!%%~xi" ) pause>nul复制代码
TOP