Windows下在利用批处理文件循环复制文件的脚本!
@echo off
color 02
goto start
:start
echo.
echo.
echo =============================================
echo Start copy File after 10 second
timeout /t 10
if exist flog.log goto copy2
goto copy1
:copy1
echo.
echo Copying file from C: to D:
copy .\1.zip d:\1.zip
del .\1.zip
echo >flog.log
goto start
:copy2
echo.
echo Copying File from D: to C:
copy d:\1.zip .\1.zip
del d:\1.zip
del .\flog.log
goto start
:eof