hhainia 当前离线
列兵
TOP
terse 当前离线
中将
qixiaobin0715 当前离线
大校
@echo off md newfolder setlocal enabledelayedexpansion for %%a in (*.jpg) do ( set "str=%%~na" set /a str-=2 copy "%%a" "newfolder\!str!%%~xa ) pause复制代码
flashercs 当前在线
中校
PowerShell "dir *.jpg | ?{$_.BaseName -match '^[0-9]+$'} | sort {1*$_.BaseName} | ren -NewName {'' + (-2 + $_.BaseName) + $_.Extension}"复制代码