FOR /F "delims=|" %%i IN (loglist.txt) DO robocopy "%Src%%%i" "C:\Temp\Test" *.ininlog
给出此错误错误2访问源目录C:\ Temp \ Logs \ 2014-04-24 \ accserver \
预期的操作应该是复制C:\ Temp \ Logs \ 2014-04-24 \ accserver.ininlog
我做错了什么?
答案 0 :(得分:2)
让它工作正在做错误的操作
FOR /F "delims=|" %%i IN (loglist.txt) DO robocopy %Src% C:\Temp\Test "%%i".ininlog