@echo off&setlocal enabledelayedexpansion
for /f "delims=" %%a in ('dir /ad /b /s^|sort /r') do (
set sign=
echo "%%~nxa"|find "2合">nul&&set sign=1
if defined sign (
for /f "tokens=1* delims=2合" %%B in ("%%~nxa") do (
set "first=%%B"
set "first=!first:~,-1!"
xcopy 啊1啊啊 a200 /E /Y
)))
我把这个修改 好像没效果