kiwicola 当前离线
列兵
echo if exist C:\001\[a-z][a-z]-[A-Z][A-Z] ( copy C:\001\[a-z][a-z]-[A-Z][A-Z] C:\aaa /y ) pause复制代码
aloha20200628 当前离线
上尉
TOP
qixiaobin0715 当前离线
大校
@echo off set lower=abcdefghijklmnopqrstuvwxyz set upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ cd /d "C:\001" for /f "delims=" %%i in ('dir /b /a-d^|findstr /b "[%lower%][%lower%]-[%upper%][%upper%]\."') do ( copy /y "%%i" "C:\aaa" ) pause复制代码
flashercs 当前离线
少校
copy /y c:\001\??-?? c:\aaa\复制代码