|  | 
| 我在批处理贴吧看到 一个类似的帖子,我去好复杂 看不懂 
  这是提问,下面是回复的 。看不懂  
 复制代码@echo off
set @=q&set/an=0x53b7e0b4
title Any question +%@%%@% %n%
call :t "E:\1.txt" "W:\upload-drafts-tool\uploads\2019-04-01" "E:\A" "E:\2.txt"
echo;Any question +%@%%@% %n%
pause&exit
:t
if not exist "%~2" (echo;"%~2" path error or not existed&exit /b)
for /f "delims=" %%a in ('type "%~1"') do (
set "f="
for /r "%~2" /d %%b in (*) do (
if /i "%%~nxb" equ "%%~nxa" (
set f=1
xcopy "%%b" "%~3\%%~nxb" /s /q /y
)
)
if not defined f >>"%~4" echo;%%a
)
exit /b
 | 
 |