阅读背景:

无法使用xcopy从子文件夹复制更新的文件

来源:互联网 
set "source=C:\Documents and Settings\My Documents\msword"
set "dest=D:\Test"

pushd "%source%" ||(
   echo.Source does not exist&pause&goto EOF)

for /f "tokens=*" %%f in (
   'dir /A-D /OD /B') Do set "file=%%f"

popd

xcopy /s /d /e "%source%\%file%" "%dest%\" 
set "source=C:\Documents and Settings\My Docume



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: