- @echo off & setlocal enabledelayedexpansion
-
- :main
- set count=0
- rem main function
- for %%i in ("1,1,8","489,1,501","890,1,905","1290,1,1307","1786,1,1811") do call:deal %%i
- echo already move %count% files
- pause
- goto:eof
-
- :deal
- for /L %%i in (%~1) do (
- call:int %%i
- move !name!.jpg 剔除相片\ && set /A count+=1
- )
- goto:eof
-
- :int
- rem 统一名称
- set "name=0000%~1"
- set "name=D%name:~-4%"
- goto:eof
复制代码 回复 1# sxning |