zimu929 当前离线
列兵
77七 当前在线
中校
@echo off rem 保存为ansi编码 robocopy "d:\1\2\3" "e:\1\2\3" /s 2.txt 5.txt 6.txt pause复制代码
TOP
aloha20200628 当前在线
上尉
@echo off &cd /d "D:\1\2\3" for /f "delims=" %%a in (清单.txt) do for /f "delims=" %%F in ( 'dir/b/s/a-d "%%a" ') do xcopy /yi "%%F" "E:%%~pF" pause&exit/b复制代码
评分人数
@echo off rem 保存为ansi编码 for /f "useback delims=" %%i in ("清单.txt") do ( robocopy "d:\1\2\3" "e:\1\2\3" /s "%%i" ) pause复制代码
robocopy "d:\1\2\3" "e:\1\2\3" /s *.txt复制代码