##
@echo offsetlocal enabledelayedexpansionset point=.for %%i in (*.avi) do (set "name=%%i"set a=!name:~0,2!set b=!name:~2!set a=!a!%point%set d=!a!!b!ren "%%i" "!d!")pause
本文共 223 字,大约阅读时间需要 1 分钟。
##
@echo offsetlocal enabledelayedexpansionset point=.for %%i in (*.avi) do (set "name=%%i"set a=!name:~0,2!set b=!name:~2!set a=!a!%point%set d=!a!!b!ren "%%i" "!d!")pause
转载于:https://www.cnblogs.com/tinaluo/p/8372659.html