that is exactly what i did in my code.
but a better solution is to use robocopy :
 Code:
if not exist "%rundir%\robocopy.exe" copy "%here%robocopy.exe" "%rundir%\"

"%rundir%\robocopy.exe" "%here%." "%rundir%" /s /xo

So just newer or missing files are copied locally.
_________________________
Christophe